Pretty printing designed for printing source code.

Version on this page:
LTS Haskell 21.14:0.7.1@rev:2
Stackage Nightly 2023-10-03:0.7.1@rev:2
Latest on Hackage:0.7.1@rev:2

See all snapshots mainland-pretty appears in

BSD-3-Clause licensed and maintained by Geoffrey Mainland
This version can be pinned in stack with:mainland-pretty-,1601

Module documentation for

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.