package prettiest
Non-greedy pretty printer
Install
Dune Dependency
Authors
Maintainers
Sources
0.0.2.tar.gz
sha256=1ab7c41402027b6b7503f8e9c153938ae62cb68a9abf26c476d520cbd00149db
md5=4df259fbbc4c7b07a00ba96e355a09f3
Description
Implementation of Jean-Philippe Bernardy's A Pretty But Not Greedy Printer (Functional Pearl). PACMPL 1(ICFP): 6:1-6:21 (2017) (https://jyp.github.io/pdf/Prettiest.pdf).
Published: 24 Jan 2018
README
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.
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.
Dependencies (5)
-
jbuilder
>= "1.0+beta12"
-
ocaml-migrate-parsetree
< "2.0.0"
-
ppx_compare
>= "v0.10"
-
base
>= "v0.10" & < "v0.11"
-
ocaml
>= "4.04.1"
Dev Dependencies
None
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page