@hackage pretty-compact2.0
Pretty-printing library
Categories
License
LicenseRef-GPL
Maintainer
Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>
Links
Versions
Installation
Dependencies (2)
- base >=4.8 && <4.11
- containers Show all…
Dependents (4)
@hackage/lambdacube-compiler, @hackage/kicad-data, @hackage/typedflow, @hackage/acme-everything
This package contains a pretty-printing library, a set of API's that provides a way to easily print out text in a consistent format of your choosing. This is useful for compilers and related tools.
This library produces more compact outputs than both Wadler-Leijen or Hughes-PJ algorithms, at the expense of computational ressources. The core API is based on Hughes-PJ, but some combinators of the Leijen API are implemented as well.