package prettiest

  1. Overview
  2. Docs
Non-greedy pretty printer

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.2.tar.gz
sha256=1ab7c41402027b6b7503f8e9c153938ae62cb68a9abf26c476d520cbd00149db
md5=4df259fbbc4c7b07a00ba96e355a09f3

README.md.html

prettiest

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.

OCaml

Innovation. Community. Security.