@hackage portray-prettyprinter0.1.0
A portray backend using the prettyprinter package.
Categories
License
Apache-2.0
Maintainer
Andrew Pritchard <awpr@google.com>
Links
Versions
Installation
Dependencies (5)
- base >=4.12 && <4.17
- portray >=0.1 && <0.2
- portray-diff >=0.1 && <0.2
- prettyprinter >=1.7 && <1.8
- text >=0.1 && <1.3 Show all…
Dependents (0)
This provides a
prettyprinter backend for
portray along with derivable
Pretty instances for types with Portray instances.
This started out as a copy of
portray-pretty, and is
still very similar. However, prettyprinter gives more flexibility to
documents at the cost of requiring more behavior to be specified explicitly.
As such, some formats can be nicer with the prettyprinter backend, but as
of the initial release, this backend is less mature and hasn't been used in
practice, so there are likely more formatting bugs. Please do file bugs on
the GitHub issue tracker if you find anything that seems obviously wrong!