pretty-compact: Pretty-printing library

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


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.0, 2.0, 2.1, 3.0
Dependencies base (>=4.6 && <5), base-compat (>=0.9.3 && <0.12), containers, semigroups [details]
License LicenseRef-GPL
Maintainer Jean-Philippe Bernardy <>
Revised Revision 3 made by phadej at 2020-07-30T14:12:43Z
Category Text
Source repo head: git clone
Uploaded by JeanPhilippeBernardy at 2017-08-19T06:27:06Z
Reverse Dependencies 4 direct, 1 indirect [details]
Downloads 3642 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-19 [all 1 reports]