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 Source #
Different Cabal-the-spec versions.
We branch based on this at least in the parser.
Instances
cabalSpecSupports :: CabalSpecVersion -> [Int] -> Bool Source #
data CabalFeature Source #
Elif | |
CommonStanzas | |
Globstar | Implemented in #5284. Not actually a change to the parser, as filename patterns are opaque to it currently. |
Instances
data HasCommonStanzas Source #
Instances
Eq HasCommonStanzas Source # | |
Defined in Distribution.CabalSpecVersion (==) :: HasCommonStanzas -> HasCommonStanzas -> Bool # (/=) :: HasCommonStanzas -> HasCommonStanzas -> Bool # | |
Show HasCommonStanzas Source # | |
Defined in Distribution.CabalSpecVersion showsPrec :: Int -> HasCommonStanzas -> ShowS # show :: HasCommonStanzas -> String # showList :: [HasCommonStanzas] -> ShowS # |