Pretty printing designed for printing source code.

Version on this page:[email protected]:2
LTS Haskell 16.3:
Stackage Nightly 2020-07-04:
Latest on Hackage:

See all snapshots mainland-pretty appears in

BSD-3-Clause licensed and maintained by Geoffrey Mainland

Module documentation for

This version can be pinned in stack with:[email protected]:76d95b87fa38a79188f63c11838a1b70ea44de70e2caf399c4711b55850df71a,1362

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.

Used by 1 package in lts-2.22(full list with versions):