PPrinter: A generic derivable Haskell pretty printer

[ bsd3, generics, library, pretty-printer, text ] [ Propose Tags ]

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

Modules

[Last Documentation]

  • Text
    • Text.PPrinter

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0
Change log ChangeLog.md
Dependencies base (>=4.8 && <4.9), containers (>=0.5 && <0.6), hspec (>=2.2 && <2.3), parsec (>=3.1 && <3.2), QuickCheck (>=2.8 && <2.9) [details]
License BSD-3-Clause
Author Yi Zhen
Maintainer s1563190@sms.ed.ac.uk
Category Text, Generics, Pretty Printer
Uploaded by iamzhenyi at 2016-08-06T07:04:04Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3727 total (15 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-21 [all 3 reports]