ppversion
Pretty-printing library
This library provides a lean alternative to the Format 1 module of the OCaml standard library. It aims to make it easy for users to do the right thing. If you have tried Format before but find its API complicated and difficult to use, then Pp might be a good choice for you.
Pp uses the same concepts of boxes and break hints, and the final rendering is done to formatter from the Format module. However it defines its own algebra which some might find easier to work with and reason about. No previous knowledge is required to start using this library, however the various guides for the Format module such as this one 2 should be applicable to Pp as well.
Authors | Jane Street Group, LLC and Jeremie Dimino <jeremie@dimino.org> |
---|---|
License | MIT |
Published | |
Homepage | https://github.com/ocaml-dune/pp |
Issue Tracker | https://github.com/ocaml-dune/pp/issues |
Maintainer | Jeremie Dimino <jeremie@dimino.org> |
Dependencies |
|
Source [http] | https://github.com/ocaml-dune/pp/releases/download/1.0.1/pp-1.0.1.tbz sha256=ccf5917c8f8fce5c3a678061acc705aafa27a7ed38c7da86e7fcefb083522f3d sha512=2e9ee6ccbc880591ba180132ecb511c661404709887692f4aae8c482c192d5f02830ef0e3268e3e4e4c7770689c07ce0b532b1d9bbe6fc1498876028b3d8e154 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/pp/pp.1.0.1/opam |