Provides basic functionality for handling semantic version numbers. Follows the Semver 2.0.0 standard strictly. No loose mode, no prefixes to version numbers.
For the definition of semantic versioning with Semver 2.0.0, see http://semver.org.
Creates a version.
Checks whether a version is valid according to the specification.
Compares two versions for precedence.
Implements the ordering procedure defined in Semver 2.0.0.
Shorthand for determining whether versionA precedes versionB.
Shorthand for determining whether versionA is preceded by versionB.
Produce a version's string representation.
The output format is such that
v |> print |> parse == vParses a version string.
Parsing fails if the string is not legal according to Semver 2.0.0.
Does not accept loose syntax or prefixes ('v') to the version string.
Represents a version with major, minor and patch number, as well as optionally a prerelease version and build metadata.