 | Cabal-1.6.0.1: A framework for packaging Haskell software | Contents | Index |
|
Distribution.Version | Portability | portable | Maintainer | cabal-devel@haskell.org |
|
|
|
|
|
Description |
Exports the Version type along with a parser and pretty printer. A version
is something like "1.3.3". It also defines the VersionRange data
types. Version ranges are like ">= 1.2 && < 2".
|
|
Synopsis |
|
|
|
|
Package versions
|
|
Version ranges
|
|
data VersionRange |
Constructors | | 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 |
|
Produced by Haddock version 2.3.0 |