Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CabalSpecVersion
- cabalSpecLatest :: CabalSpecVersion
- cabalSpecFeatures :: CabalSpecVersion -> Set CabalFeature
- cabalSpecSupports :: CabalSpecVersion -> [Int] -> Bool
- specHasCommonStanzas :: CabalSpecVersion -> HasCommonStanzas
- specHasElif :: CabalSpecVersion -> HasElif
- data CabalFeature
- data HasElif
- data HasCommonStanzas
- data HasGlobstar
Documentation
data CabalSpecVersion #
Different Cabal-the-spec versions.
We branch based on this at least in the parser.
Instances
cabalSpecSupports :: CabalSpecVersion -> [Int] -> Bool #
specHasElif :: CabalSpecVersion -> HasElif #
data CabalFeature #
Elif | |
CommonStanzas | |
Globstar | Implemented in #5284. Not actually a change to the parser, as filename patterns are opaque to it currently. |
Instances
data HasCommonStanzas #
Instances
Eq HasCommonStanzas # | |
Defined in Distribution.CabalSpecVersion (==) :: HasCommonStanzas -> HasCommonStanzas -> Bool # (/=) :: HasCommonStanzas -> HasCommonStanzas -> Bool # | |
Show HasCommonStanzas # | |
Defined in Distribution.CabalSpecVersion showsPrec :: Int -> HasCommonStanzas -> ShowS # show :: HasCommonStanzas -> String # showList :: [HasCommonStanzas] -> ShowS # |