mainland-pretty: Pretty printing designed for printing source code.

[ bsd3, library, text ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.1.3.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.7.1, 0.2.7.2, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.4.1.1, 0.4.1.2, 0.4.1.3, 0.4.1.4, 0.5.0.0, 0.6, 0.6.1, 0.6.2, 0.7, 0.7.0.1, 0.7.1, 0.7.1.1
Dependencies base (>=4.5 && <5), containers (>=0.2 && <0.8), srcloc (>=0.2 && <0.7), text (>0.11 && <2.2), transformers (>0.3 && <0.7) [details]
Tested with ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.3, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.2, ghc ==9.4.8, ghc ==9.6.4, ghc ==9.8.2, ghc ==9.10.1
License BSD-3-Clause
Copyright (c) 2006-2011 Harvard University (c) 2011-2012 Geoffrey Mainland (c) 2015-2024 Drexel University
Author Geoffrey Mainland <mainland@drexel.edu>
Maintainer Geoffrey Mainland <mainland@drexel.edu>
Category Text
Home page https://github.com/mainland/mainland-pretty
Bug tracker https://github.com/mainland/mainland-pretty/issues
Source repo head: git clone git://github.com/mainland/mainland-pretty.git
Uploaded by GeoffreyMainland at 2024-07-02T14:23:43Z
Distributions LTSHaskell:0.7.1.1, NixOS:0.7.1.1, Stackage:0.7.1.1
Reverse Dependencies 17 direct, 21 indirect [details]
Downloads 35072 total (72 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-07-02 [all 1 reports]