This is an adaptation of Daan Leijen's PPrint library, which itself is based on the ideas developed by Philip Wadler in A Prettier Printer.
To install the latest released version of PPrint, it should be sufficient to type:
opam install pprint
To install PPrint from source, type:
make install
The requirements are OCaml 4.02.0 or later, ocamlbuild
, and ocamlfind
.
The documentation for PPrint is built by make doc
and is then found in the
file src/doc/index.html
.