mainland-pretty: Pretty printing designed for printing source code.

[ bsd3, library, text ] [ Propose Tags ]

Pretty printing designed for printing source code based on Wadler's paper A Prettier Printer. The main advantage of this library is its ability to automatically track the source locations associated with pretty printed values and output appropriate #line pragmas and its ability to produce output in the form of lazy text using a builder.


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


Versions [RSS] 0.1,,,,,,,, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7,,,,,,,,,,, 0.6, 0.6.1, 0.6.2, 0.7,, 0.7.1
Dependencies base (>=4.5 && <5), containers (>=0.2 && <0.7), srcloc (>=0.2 && <0.7), text (>0.11 && <2.1), transformers (>0.3 && <0.6) [details]
License BSD-3-Clause
Copyright (c) 2006-2011 Harvard University (c) 2011-2012 Geoffrey Mainland (c) 2015-2021 Drexel University
Author Geoffrey Mainland <>
Maintainer Geoffrey Mainland <>
Revised Revision 1 made by TroelsHenriksen at 2022-06-08T14:19:57Z
Category Text
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by GeoffreyMainland at 2021-04-29T21:04:08Z
Distributions LTSHaskell:0.7.1, NixOS:0.7.1, Stackage:0.7.1
Downloads 32557 total (101 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-04-29 [all 1 reports]