cabal-install-solver
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Modular.Version

Synopsis

Documentation

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.