PrettyPrinter
scalus.sir.PrettyPrinter
object PrettyPrinter
Pretty printers.
- Use
pretty
to pretty print to a org.typelevel.paiges.Doc. - Use
prettyXTerm
to pretty print to a org.typelevel.paiges.Doc with syntax highlighting for XTerm.
For example:
PrettyPrinter.prettyXTerm(sir).render(80)
// renders a single line if possible
PrettyPrinter.pretty(sir).flatten.render(120)
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrettyPrinter.type
Members list
In this article