Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data OptionalStanza
- showStanza :: OptionalStanza -> String
- showStanzas :: OptionalStanzaSet -> String
- enableStanzas :: OptionalStanzaSet -> ComponentRequestedSpec
- data OptionalStanzaSet
- optStanzaSetFromList :: [OptionalStanza] -> OptionalStanzaSet
- optStanzaSetToList :: OptionalStanzaSet -> [OptionalStanza]
- optStanzaSetMember :: OptionalStanza -> OptionalStanzaSet -> Bool
- optStanzaSetInsert :: OptionalStanza -> OptionalStanzaSet -> OptionalStanzaSet
- optStanzaSetSingleton :: OptionalStanza -> OptionalStanzaSet
- optStanzaSetIntersection :: OptionalStanzaSet -> OptionalStanzaSet -> OptionalStanzaSet
- optStanzaSetNull :: OptionalStanzaSet -> Bool
- optStanzaSetIsSubset :: OptionalStanzaSet -> OptionalStanzaSet -> Bool
- data OptionalStanzaMap a
- optStanzaTabulate :: (OptionalStanza -> a) -> OptionalStanzaMap a
- optStanzaIndex :: OptionalStanzaMap a -> OptionalStanza -> a
- optStanzaLookup :: OptionalStanza -> OptionalStanzaMap a -> a
- optStanzaKeysFilteredByValue :: (a -> Bool) -> OptionalStanzaMap a -> OptionalStanzaSet
OptionalStanza
data OptionalStanza Source #
Instances
showStanza :: OptionalStanza -> String Source #
String representation of an OptionalStanza.
enableStanzas :: OptionalStanzaSet -> ComponentRequestedSpec Source #
Convert a list of OptionalStanza
into the corresponding
Cabal's ComponentRequestedSpec
which records what components are enabled.
Set of stanzas
data OptionalStanzaSet Source #
Instances
Map indexed by stanzas
data OptionalStanzaMap a Source #
Note: this is total map.
Instances
optStanzaTabulate :: (OptionalStanza -> a) -> OptionalStanzaMap a Source #
optStanzaIndex :: OptionalStanzaMap a -> OptionalStanza -> a Source #
optStanzaLookup :: OptionalStanza -> OptionalStanzaMap a -> a Source #
optStanzaKeysFilteredByValue :: (a -> Bool) -> OptionalStanzaMap a -> OptionalStanzaSet Source #