mainland-pretty

Pretty printing designed for printing source code. http://www.cs.drexel.edu/~mainland/

Version on this page:0.4.1.4
LTS Haskell 16.3:0.7.0.1
Stackage Nightly 2020-06-29:0.7.0.1
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.4.1.4

This version can be pinned in stack with:[email protected]:19f1934c1645da5d312a2889dd57f39edef514e59157c01edb95fcd567f609f3,1251

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-6.35(full list with versions):