prettiest

Non-greedy pretty printer
README

Implementation of Jean-Philippe Bernardy's A Pretty But Not Greedy Printer (Functional Pearl). PACMPL 1(ICFP): 6:1-6:21 (2017) in OCaml.
The author of the paper has a version in Haskell.

I make no promises about performance.

Documentation

Installation

This package is on OPAM:

opam install prettiest

Examples

A version of the sexpr example is included in the test folder.

That folder also includes a larger example of pretty printing types.

Install
Sources
0.0.2.tar.gz
md5=4df259fbbc4c7b07a00ba96e355a09f3
Dependencies
jbuilder
>= "1.0+beta12"
ppx_compare
>= "v0.10"
base
>= "v0.10" & < "v0.11"
ocaml
>= "4.04.1"
Reverse Dependencies