Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Deprecated: Use Data.Text.Prettyprint.Doc.Render.String instead
- renderShowS :: SimpleDocStream ann -> ShowS
Documentation
renderShowS :: SimpleDocStream ann -> ShowS Source #
Render a SimpleDocStream
to a ShowS
, useful to write Show
instances
based on the prettyprinter.
instanceShow
MyType whereshowsPrec
_ =renderShowS
.layoutPretty
defaultLayoutOptions
.pretty