Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Variable
- parseVariable :: CabalParsing m => m Variable
- parseArch :: CabalParsing m => m Arch
- parseFlag :: CabalParsing m => m FlagName
- parseImpl :: CabalParsing m => m (CompilerFlavor, VersionRange)
- parseOs :: CabalParsing m => m OS
- parseIdent :: CabalParsing m => m String
- prettyVariable :: Variable -> Doc
Documentation
Similar to ConfVar
, but with different
parsing and pretty-printing behavior.
parseVariable :: CabalParsing m => m Variable Source #
Parses a Variable
. This is generally as permissive as possible.
parseImpl :: CabalParsing m => m (CompilerFlavor, VersionRange) Source #
Parses an Impl
.
parseIdent :: CabalParsing m => m String Source #
Parses an identifier. This is more permissive than anything provided by Cabal. Any run of alphanumeric characters, underscores, or hyphens is considered an identifier.