Copyright | (c) 2017-2019 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Contains data type for GHC versions supported by Summoner and some useful functions for manipulation with them.
Documentation
Represents some selected set of GHC versions.
Data type to keep meta information for every GhcVer
.
Represents PVP versioning (4 numbers).
latestLts :: GhcVer -> Text Source #
Returns latest known LTS resolver for all GHC versions except default one.
cabalBaseVersions :: [GhcVer] -> Text Source #
Returns the base
bounds for the list of the given GHC versions.
>>>
cabalBaseVersions [Ghc844]
"^>= 4.11.1.0"
>>>
cabalBaseVersions [Ghc802, Ghc822, Ghc844]
">= 4.9.0.0 && < 4.12"