pretty-compact: Pretty-printing library

[ lgpl, 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.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 1.0, 2.0, 2.1, 3.0, 3.1
Dependencies base (>=4.6 && <5), base-compat (>=0.9.3 && <0.12), containers (<666), semigroups (<666) [details]
License LGPL-3.0-only
Maintainer Jean-Philippe Bernardy <>
Category Text
Source repo head: git clone
Uploaded by JeanPhilippeBernardy at 2024-02-14T08:37:50Z
Reverse Dependencies 4 direct, 1 indirect [details]
Downloads 3757 total (26 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-02-14 [all 1 reports]