Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data FieldDescrs s a
- fieldDescrPretty :: FieldDescrs s a -> String -> Maybe (s -> Doc)
- fieldDescrParse :: CabalParsing m => FieldDescrs s a -> String -> Maybe (s -> m s)
- fieldDescrsToList :: CabalParsing m => FieldDescrs s a -> [(String, s -> Doc, s -> m s)]
Documentation
data FieldDescrs s a Source #
A collection field parsers and pretty-printers.
Instances
fieldDescrPretty :: FieldDescrs s a -> String -> Maybe (s -> Doc) Source #
Lookup a field value pretty-printer.
fieldDescrParse :: CabalParsing m => FieldDescrs s a -> String -> Maybe (s -> m s) Source #
Lookup a field value parser.
fieldDescrsToList :: CabalParsing m => FieldDescrs s a -> [(String, s -> Doc, s -> m s)] Source #