Cabal-2.5.0.0: A framework for packaging Haskell software
Safe HaskellNone
LanguageHaskell2010

Distribution.FieldGrammar.Pretty

Synopsis

Documentation

data PrettyFieldGrammar s a Source #

Instances

Instances details
FieldGrammar PrettyFieldGrammar # 
Instance details

Defined in Distribution.FieldGrammar.Pretty

Functor (PrettyFieldGrammar s) # 
Instance details

Defined in Distribution.FieldGrammar.Pretty

Applicative (PrettyFieldGrammar s) # 
Instance details

Defined in Distribution.FieldGrammar.Pretty

prettyFieldGrammar :: PrettyFieldGrammar s a -> s -> [PrettyField] Source #

We can use PrettyFieldGrammar to pp print the s.

Note: there is not trailing ($+$ text "").