render package:pretty
Render the
Doc to a String using the default
Style
(see
style).
Render the
Doc to a String using the default
Style
(see
style).
Render the Doc to a String using the given Style.
Render an annotated
Doc to a String and list of annotations
(see
Span) using the default
Style (see
style).
Render the Doc to a String using the given Style.
Render out a String, interpreting the annotations as part of the
resulting document.
IMPORTANT: the size of the annotation string does NOT figure
into the layout of the document, so the document will lay out as
though the annotations are not present.
Render a document with annotations, by interpreting the start and end
of the annotations, as well as the text details in the context of a
monad.
The general rendering interface. Please refer to the Style
and Mode types for a description of rendering mode, line
length and ribbons.
The general rendering interface. Please refer to the Style
and Mode types for a description of rendering mode, line
length and ribbons.
The general rendering interface, supporting annotations. Please refer
to the Style and Mode types for a description of
rendering mode, line length and ribbons.