Cabal-2.1.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.FieldGrammar.Pretty

Synopsis

Documentation

data PrettyFieldGrammar s a Source #

Instances
FieldGrammar PrettyFieldGrammar # 
Instance details
Functor (PrettyFieldGrammar s) # 
Instance details
Applicative (PrettyFieldGrammar s) # 
Instance details

prettyFieldGrammar :: PrettyFieldGrammar s a -> s -> Doc Source #

We can use PrettyFieldGrammar to pp print the s.

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