PPrint: a Pretty-Printing Toolbox

January 2, 2022 ยท View on GitHub

PPrint is an OCaml library for pretty-printing textual documents. It takes care of indentation and line breaks, and is typically used to pretty-print code.

To install the latest released version, type opam install pprint.

Here is the documentation of the latest released version.