Pretty printing designed for printing source code.

Version on this page:0.6.1
LTS Haskell 12.24:0.7
Stackage Nightly 2018-12-18:0.7
Latest on Hackage:0.7

See all snapshots mainland-pretty appears in

BSD3 licensed and maintained by Geoffrey Mainland

Module documentation for 0.6.1

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.

comments powered byDisqus