PPrinter: A generic derivable Haskell pretty printer
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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
Properties
Versions | 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.4, 0.1.0 |
---|---|
Change log | None available |
Dependencies | base (>=4.8 && <4.9), containers (>=0.5 && <0.6) [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:36:26Z |
Modules
- Text
- Text.PPrinter
Downloads
- PPrinter-0.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees