PPrinter: A derivable Haskell pretty printer.
A library that supports deriving of pretty printing functions on data types.
The interfaces of pretty printer used are based on that introduced in the paper: Philip Wadler, A Prettier Printer, The Fun of Programming, Cornerstones of Computing (2003): 223-243. original paper
The form of generic feature used is based on that introduced in the paper: Magalhaes, et al., A Generic Deriving Mechanism for Haskell, 3'rd ACM Symposium on Haskell, pp. 37-48, September 2010, http://dx.doi.org/10.1145/1863523.1863529. The necessary information of implementation of GHC.Generics is described here: https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Generics.html#g:1.
The implementation of deriving part of API is based on that designed in the library: GenericPretty, the details are introduced here: https://hackage.haskell.org/package/GenericPretty
Downloads
- PPrinter-0.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0 |
---|---|
Dependencies | base (>=4.8 && <4.9), containers (>=0.5 && <0.6) [details] |
License | BSD-3-Clause |
Author | Yi Zhen |
Maintainer | s1563190@inf.ed.ac.uk |
Category | Text, Generics, Pretty Printer |
Uploaded | by iamzhenyi at 2016-07-28T20:10:26Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3782 total (9 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user [build log] All reported builds failed as of 2016-07-28 [all 1 reports] |