Safe Haskell | None |
---|---|
Language | Haskell2010 |
Prettyprinter.Custom
Documentation
brackets' :: Doc a -> Doc a Source #
This prints a document enclosed by brackets, possibly indenting the output on a new line if it does not fit.
braces' :: Doc a -> Doc a Source #
This prints a document enclosed by braces, possibly indenting the output on a new line if it does not fit.