Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
PlutusCore.Pretty.Extra
Contents
Description
Pretty-printing stuff, some of which should probably go into the main library.
Synopsis
Documentation
type PrettyParens = PrettyBy RenderContext Source #
For pretty-printing a value with a minimum amount of parens.
juxtRenderContext ∷ RenderContext Source #
An initial RenderContext
.
An expression printed in this context gets enclosed in parens unless its outermost operator (if
any) binds even stronger than function application.