Configuration options to control how prettyprinting occurs, passed recursively into each prettyprinting callsite.
Configuration options to control how prettyprinting occurs, passed recursively into each prettyprinting callsite.
Controls how far to the right a line will go before it tries to wrap
Controls how many lines can be printed at once. Will print all lines if set to 0
How much the current item being printed should be indented
A map used to rename things to more common names, e.g.
renamig WrappedArray
to Array
or getting rid of
TupleN *
Helpers to help inject behavior into the generated code without having any circular dependencies
Helpers to help inject behavior into the generated code without having any circular dependencies
A typeclass necessary to prettyprint something.
A typeclass necessary to prettyprint something. Separate from PPrinter in order to make contravariant implicit resolution behave right.
A typeclass you define to prettyprint values of type A
Wrapper type for disabling output truncation.
Wrapper type for disabling output truncation. PPrint(Full(value)) will always return the full output.
Summoning an implicit TPrint[T]
provides a pretty-printed
string representation of the type T
, much better than is
provided by the default Type#toString
.
Summoning an implicit TPrint[T]
provides a pretty-printed
string representation of the type T
, much better than is
provided by the default Type#toString
. In particular
- More forms are properly supported and printed - Prefixed Types are printed un-qualified, according to what's currently in scope