Cabal-1.2.2.0: A framework for packaging Haskell softwareContentsIndex
Distribution.Version
Portabilityportable
Stabilityalpha
MaintainerIsaac Jones <ijones@syntaxpolice.org>
Contents
Package versions
Version ranges
Dependencies
Description
Versions for packages, based on the Version datatype.
Synopsis
readVersion :: String -> Maybe Version
data VersionRange
= AnyVersion
| ThisVersion Version
| LaterVersion Version
| EarlierVersion Version
| UnionVersionRanges VersionRange VersionRange
| IntersectVersionRanges VersionRange VersionRange
orLaterVersion :: Version -> VersionRange
orEarlierVersion :: Version -> VersionRange
betweenVersionsInclusive :: Version -> Version -> VersionRange
withinRange :: Version -> VersionRange -> Bool
showVersionRange :: VersionRange -> String
parseVersionRange :: ReadP r VersionRange
isAnyVersion :: VersionRange -> Bool
data Dependency = Dependency String VersionRange
Package versions
readVersion :: String -> Maybe Version
Version ranges
data VersionRange
Constructors
AnyVersion
ThisVersion Version
LaterVersion Version
EarlierVersion Version
UnionVersionRanges VersionRange VersionRange
IntersectVersionRanges VersionRange VersionRange
show/hide Instances
orLaterVersion :: Version -> VersionRange
orEarlierVersion :: Version -> VersionRange
betweenVersionsInclusive :: Version -> Version -> VersionRange
withinRange :: Version -> VersionRange -> Bool
Does this version fall within the given range?
showVersionRange :: VersionRange -> String
parseVersionRange :: ReadP r VersionRange
isAnyVersion :: VersionRange -> Bool
Dependencies
data Dependency
Constructors
Dependency String VersionRange
show/hide Instances
Produced by Haddock version 0.8