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.

Versions 1.0, 2.0, 2.1, 3.0
Dependencies base (>=3 && <5), base-compat (>=0.9.3 && <0.11), containers, semigroups [details]
License LicenseRef-GPL
Maintainer Jean-Philippe Bernardy <>
Revised Revision 2 made by phadej at Wed Apr 11 19:36:02 UTC 2018
Category Text
Source repo head: git clone
Uploaded by JeanPhilippeBernardy at Sat Aug 19 06:27:06 UTC 2017
Distributions NixOS:3.0
Downloads 1095 total (16 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




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

For package maintainers and hackage trustees