PPrinter-0.0.4: A generic derivable Haskell pretty printer

PPrinter-0.0.4: A generic 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.org10.1145/1863523.1863529. The necessary information of implementation of GHC.Generics is described here: https:/hackage.haskell.orgpackagebase-4.9.0.0docs/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.orgpackage/GenericPretty

Modules