Cabal-3.2.1.0: A framework for packaging Haskell software
Safe Haskell None
Language Haskell2010

Distribution.FieldGrammar.FieldDescrs

Synopsis

Documentation

data FieldDescrs s a Source #

A collection field parsers and pretty-printers.

Instances

Instances details
FieldGrammar FieldDescrs Source #

Note: default values are printed.

Instance details

Defined in Distribution.FieldGrammar.FieldDescrs

Functor ( FieldDescrs s) Source #
Instance details

Defined in Distribution.FieldGrammar.FieldDescrs

Applicative ( FieldDescrs s) Source #
Instance details

Defined in Distribution.FieldGrammar.FieldDescrs

fieldDescrPretty :: FieldDescrs s a -> FieldName -> Maybe (s -> Doc ) Source #

Lookup a field value pretty-printer.

fieldDescrParse :: CabalParsing m => FieldDescrs s a -> FieldName -> Maybe (s -> m s) Source #

Lookup a field value parser.