mainland-pretty

Pretty printing designed for printing source code.

http://github.com/mainland/mainland-pretty

Version on this page:0.7
LTS Haskell 23.22:0.7.1.1
Stackage Nightly 2025-05-15:0.7.1.1
Latest on Hackage:0.7.1.1

See all snapshots mainland-pretty appears in

BSD-3-Clause licensed and maintained by Geoffrey Mainland
This version can be pinned in stack with:mainland-pretty-0.7@sha256:7f504d92f38cd4f5552b84bce58f27f83a4bd42ffda5d20749a46b80cec1a47f,1557

Module documentation for 0.7

  • Text
    • Text.PrettyPrint
      • Text.PrettyPrint.Mainland
        • Text.PrettyPrint.Mainland.Class
Used by 1 package in nightly-2018-06-23(full list with versions):

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.