cabal-install-solver-3.12.1.0: The command-line interface for Cabal and Hackage.

Safe Haskell | None
Language | Haskell2010

Distribution.Solver.Modular.Version

Synopsis

- type Ver = Version
- type VR = VersionRange
- anyVR :: VR
- checkVR :: VR -> Ver -> Bool
- eqVR :: Ver -> VR
- showVer :: Ver -> String
- showVR :: VR -> String
- simplifyVR :: VR -> VR
- (.&&.) :: VR -> VR -> VR
- (.||.) :: VR -> VR -> VR

# 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.