The pretty-compact package

[ Tags: benchmark, gpl, library, text ] [ Propose Tags ]

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.


Versions 1.0, 2.0, 2.1, 3.0
Dependencies base (>=3 && <5), base-compat (>=0.9.3 && <0.10), containers, semigroups [details]
License GPL
Maintainer Jean-Philippe Bernardy <>
Category Text
Source repo head: git clone
Uploaded Sat Aug 19 06:27:06 UTC 2017 by JeanPhilippeBernardy
Distributions NixOS:3.0
Downloads 1066 total (35 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-19 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees