Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PrettyFieldGrammar s a
- prettyFieldGrammar :: CabalSpecVersion -> PrettyFieldGrammar s a -> s -> [PrettyField ()]
Documentation
data PrettyFieldGrammar s a Source #
Instances
prettyFieldGrammar :: CabalSpecVersion -> PrettyFieldGrammar s a -> s -> [PrettyField ()] Source #
We can use PrettyFieldGrammar
to pp print the s
.
Note: there is not trailing ($+$ text "")
.