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

[ bsd3, library, text ] [ Propose Tags ]
Versions 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
Dependencies base (==4.*), containers (>=0.2 && <0.6), srcloc (==0.3.*), text (>0.11 && <0.12) [details]
License BSD-3-Clause
Copyright (c) 2006-2011 Harvard University (c) 2011-2012 Geoffrey Mainland
Author Geoffrey Mainland <>
Category Text
Home page
Source repo head: git clone git://
Uploaded by GeoffreyMainland at Thu Oct 11 21:25:15 UTC 2012
Distributions LTSHaskell:0.6.1, NixOS:0.6.1, openSUSE:0.6.1
Downloads 12701 total (99 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

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.




Maintainer's Corner

For package maintainers and hackage trustees