KengoTODA / flix-semver2

A flix package to handle semantic versioning v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flix-semver2

A package handling the semantic versioning v2.

.github/workflows/build.yml semantic-release: angular

Usage

SemVer2 is an algebraic data type with the Eq type class, ToString type class, and Order type class.

use SemVer2.parse;

def isVersion1(text: String): Bool = match parse(text) {
    case Ok(v) => SemVer2.getMajor(v) == 1
    case _ => false
}

You can install the fpkg file by the following command:

$ java -jar flix.jar install KengoTODA/flix-semver2
$ ls lib/KengoTODA/flix-semver2/flix-semver2.fpkg

Copyright

Copyright © 2022 Kengo TODA all rights reserved.

About

A flix package to handle semantic versioning v2

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 58.3%Language:Kotlin 41.7%