pprint -package:pretty-simple
Pretty print a generic value to stdout. This is particularly useful in
the GHCi interactive environment.
Pretty print a showable value. An easier alias for pretty-simple's
pPrint. This will print in colour if useColorOnStderrUnsafe is true.
The
pprint function outputs a value of any type that is an
instance of
Pretty to the standard output device by calling
ppr and adding a newline.
Render document using xml-conduit's pretty-printer.
Pretty print a value to the standard output.
Pretty printing of values.
This class is similar to the
Pretty class from the
Prettyprinter package, but it also provides pretty printing
with a given precedence level.
We are able to derive instances of this class for algebraic data
types. You may need the
DerivingVia and
DerivingStrategies extensions.
data X = ... deriving Generic deriving PPrint via (Default X)
The derived instance will pretty print the value with a format similar
to the one used by ormolu.
The :print & friends commands
Pretty print something that may be converted to a list as a list. Each
entry is on a separate line, which means that we don't do clever
pretty printing, and so this works well for large strucutures.
Pretty-print the given message into a human-readable form.
Pretty-print the given message into human-readable form, using the
given
Registry to decode
google.protobuf.Any values.
Monochrome version of pprint. This will never print in colour.
Pretty print an unexpected modification as a list item.
Pretty print a list of unexpected modifications. Print a maximum of
n modifications.