| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Herb.Pretty
Description
Documentation
herbsDoc :: Foldable f => f Herb -> Doc Source #
Convert a foldable container of Herb structures into Doc from
Text.PrettyPrint, concatenating them vertically.
prettyHerb :: Herb -> String Source #
Directly produce a pretty String representation of Herb using the
default rendering style of Text.PrettyPrint. To render using a custom
style, run renderStyle with appropriate parameters.
prettyHerbs :: Foldable f => f Herb -> String Source #
Like prettyHerb but for foldable containers. This adds the final newline
(which is missing in the default rendering by Text.PrettyPrint.