Cabal-1.2.4.0: A framework for packaging Haskell software
Source code
Contents
Index
Distribution.Version
Portability
portable
Stability
alpha
Maintainer
Isaac Jones <ijones@syntaxpolice.org>
Contents
Package versions
Version ranges
Dependencies
Description
Versions for packages, based on the
Version
datatype.
Synopsis
Version
(
Version
,
versionBranch
,
versionTags
)
showVersion
readVersion
::
String
->
Maybe
Version
parseVersion
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
Version
(
Version
,
versionBranch
,
versionTags
)
showVersion
readVersion
::
String
->
Maybe
Version
Source
parseVersion
Version ranges
data
VersionRange
Source
Constructors
AnyVersion
ThisVersion
Version
LaterVersion
Version
EarlierVersion
Version
UnionVersionRanges
VersionRange
VersionRange
IntersectVersionRanges
VersionRange
VersionRange
Instances
Eq
VersionRange
Read
VersionRange
Show
VersionRange
orLaterVersion
::
Version
->
VersionRange
Source
orEarlierVersion
::
Version
->
VersionRange
Source
betweenVersionsInclusive
::
Version
->
Version
->
VersionRange
Source
withinRange
::
Version
->
VersionRange
->
Bool
Source
Does this version fall within the given range?
showVersionRange
::
VersionRange
->
String
Source
parseVersionRange
::
ReadP
r
VersionRange
Source
isAnyVersion
::
VersionRange
->
Bool
Source
Dependencies
data
Dependency
Source
Constructors
Dependency
String
VersionRange
Instances
Eq
Dependency
Read
Dependency
Show
Dependency
Produced by
Haddock
version 0.9