Cabal-1.4.0.0: A framework for packaging Haskell softwareContentsIndex
Distribution.Version
Portabilityportable
Stabilityalpha
MaintainerIsaac Jones <ijones@syntaxpolice.org>
Contents
Package versions
Version ranges
Deprecated compat stuff
Description
Versions for packages, based on the Version datatype.
Synopsis
Version (Version, versionBranch, versionTags)
data VersionRange
= AnyVersion
| ThisVersion Version
| LaterVersion Version
| EarlierVersion Version
| UnionVersionRanges VersionRange VersionRange
| IntersectVersionRanges VersionRange VersionRange
notThisVersion :: Version -> VersionRange
orLaterVersion :: Version -> VersionRange
orEarlierVersion :: Version -> VersionRange
betweenVersionsInclusive :: Version -> Version -> VersionRange
withinRange :: Version -> VersionRange -> Bool
isAnyVersion :: VersionRange -> Bool
showVersion :: Version -> String
parseVersion :: ReadP r Version
Package versions
Version (Version, versionBranch, versionTags)
Version ranges
data VersionRange
Constructors
AnyVersion
ThisVersion Version
LaterVersion Version
EarlierVersion Version
UnionVersionRanges VersionRange VersionRange
IntersectVersionRanges VersionRange VersionRange
show/hide Instances
notThisVersion :: Version -> VersionRange
orLaterVersion :: Version -> VersionRange
orEarlierVersion :: Version -> VersionRange
betweenVersionsInclusive :: Version -> Version -> VersionRange
withinRange :: Version -> VersionRange -> Bool
Does this version fall within the given range?
isAnyVersion :: VersionRange -> Bool
Deprecated compat stuff
showVersion :: Version -> String
parseVersion :: ReadP r Version
Produced by Haddock version 0.8