portray-prettyprinter: A portray backend using the prettyprinter package.

[ apache, library, text ] [ Propose Tags ]

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!

Versions [RSS] [faq] 0.1.0, 0.2.0
Change log CHANGELOG.md
Dependencies base (>=4.12 && <4.16), portray (==0.1.*), portray-diff (==0.1.*), prettyprinter (==1.7.*), text (>=0.1 && <1.3) [details]
License Apache-2.0
Copyright 2021 Google LLC
Author Andrew Pritchard <awpr@google.com>
Maintainer Andrew Pritchard <awpr@google.com>
Revised Revision 1 made by AndrewPritchard at 2021-09-14T00:48:10Z
Category Text
Home page https://github.com/google/hs-portray#readme
Bug tracker https://github.com/google/hs-portray/issues
Source repo head: git clone https://github.com/google/hs-portray(portray-prettyprinter)
Uploaded by AndrewPritchard at 2021-09-14T00:39:02Z
Downloads 60 total (60 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]


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'.

Maintainer's Corner

For package maintainers and hackage trustees