Distribution.Solver.Modular.Version
type Ver = Version Source #
Preliminary type for versions.
type VR = VersionRange Source #
Version range. Consists of a lower and upper bound.
anyVR :: VR Source #
Unconstrained version range.
checkVR :: VR -> Ver -> Bool Source #
Checking a version against a version range.
eqVR :: Ver -> VR Source #
Version range fixing a single version.
showVer :: Ver -> String Source #
String representation of a version.
showVR :: VR -> String Source #
String representation of a version range.
simplifyVR :: VR -> VR Source #
Simplify a version range.
(.&&.) :: VR -> VR -> VR Source #
Intersect two version ranges.
(.||.) :: VR -> VR -> VR Source #
Union of two version ranges.