Versions following the semantic versioning scheme of Major.Minor.Patch. This module provides functions to create and compare versions.
Displayable String representation of versions, for debug purposes.
Create a version with the given major, minor,
and patch values v = major.minor.patch.
Negative values are set to 0.
Alternative constructor.
new_ mj mn p == new { major = mj, minor = mn, patch = p }
Alternative constructor from a tuple.
fromTuple ( mj, mn, p ) == new_ mj mn p
Check if a version is strictly higher than another version.
Type for semantic versions.