BSD-3-Clause licensed and maintained by Geoffrey Mainland
This version can be pinned in stack with:mainland-pretty-0.7.1.1@sha256:183a829d43dead51e0cdb5769300e1d13aa1f4c445ecb1508fb307b8588b8242,1832

Module documentation for 0.7.1.1

  • Text
    • Text.PrettyPrint
      • Text.PrettyPrint.Mainland
        • Text.PrettyPrint.Mainland.Class
Depends on 5 packages(full list with versions):
Used by 1 package in nightly-2026-01-18(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.