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

Safe Haskell | Safe-Inferred
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 #

Preliminary type for versions.

type VR = VersionRange #

Version range. Consists of a lower and upper bound.

anyVR :: VR #

Unconstrained version range.

checkVR :: VR -> Ver -> Bool #

Checking a version against a version range.

eqVR :: Ver -> VR #

Version range fixing a single version.

showVer :: Ver -> String #

String representation of a version.

showVR :: VR -> String #

String representation of a version range.

simplifyVR :: VR -> VR #

Simplify a version range.

(.&&.) :: VR -> VR -> VR #

Intersect two version ranges.

(.||.) :: VR -> VR -> VR #

Union of two version ranges.