mainland-pretty

Pretty printing designed for printing source code. https://github.com/mainland/mainland-pretty

Latest on Hackage:0.7.0.1

See all snapshots mainland-pretty appears in

BSD-3-Clause licensed and maintained by Geoffrey Mainland

Module documentation for 0.6.1

This version can be pinned in stack with:[email protected]:9084616fd737259cd5f6c7596de1cd514f0c6039d4716bb673ddeed38564cdfd,1491

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.