mainland-pretty
Package
The Pretty printing designed for printing source code based on Wadler's paper A Prettier Printer. The main advantage of this library are:
- The source locations associated with pretty printed values are tracked.
- Appropriate
#line
pragmas can be output based on tracked source code locations. - Can use a builder to produce lazy text.