plutus-core-1.0.0.1: Language library for Plutus Core
Safe HaskellNone
LanguageHaskell2010

Prettyprinter.Custom

Synopsis

Documentation

brackets' :: Doc a -> Doc a Source #

This prints a document enclosed by brackets, possibly indenting the output on a new line if it does not fit.

braces' :: Doc a -> Doc a Source #

This prints a document enclosed by braces, possibly indenting the output on a new line if it does not fit.

parens' :: Doc a -> Doc a Source #

This prints a document enclosed by parentheses, aligning the opening and closing parentheses.

sexp :: Doc a -> [Doc a] -> Doc a Source #

Print a "sexp", i.e. something like "(keyword arg1 ... argN)".