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 pprintTo install PPrint from source, type:
make installThe requirements are OCaml 4.02 or later and dune 1.3 or later.
The documentation for PPrint is built by make doc and is then found in the file _build/default/_doc/_html/index.html.