portray: Rendering to pseudo-Haskell syntax
This provides a single place to describe how a type should be formatted as pseudo-Haskell syntax, independently of the actual pretty-printing library (e.g. "pretty", "ansi-wl-pprint", or "prettyprinter") that will ultimately be used to render it. This means packages can cheaply provide integration with all pretty-printers by providing an instance of this class, without needing to depend on any of them (or their layout algorithms).
Of course, this comes at the cost of targeting a predeclared set of formatting choices. If there are any egregious omissions, we can always add more constructors.
This library is explicitly not intended to provide a way to express /all documents/; only a particular flavor of pseudo-Haskell syntax representing values and types.
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
|Versions [RSS]||0.1.0.0, 0.1.1, 0.2.0|
|Dependencies||base (>=4.12 && <4.17), containers (>=0.6 && <0.7), text (>=0.1 && <1.3), wrapped (>=0.1 && <0.2) [details]|
|Copyright||2020-2021 Google LLC|
|Author||Andrew Pritchard <email@example.com>|
|Maintainer||Andrew Pritchard <firstname.lastname@example.org>|
|Revised||Revision 2 made by AndrewPritchard at 2021-11-03T06:49:02Z|
|Source repo||head: git clone https://github.com/google/hs-portray(portray)|
|Uploaded||by AndrewPritchard at 2021-09-17T06:00:57Z|
|Downloads||360 total (7 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]