The latest version of portray-prettyprinter is 0.2.1-2.

portray-prettyprinter

Version 0.2.0 revision 3 uploaded by AndrewPritchard.

Package meta

Synopsis
Portray backend for prettyprinter
Description

This provides a prettyprinter backend for portray along with derivable Pretty instances for types with Portray instances.

This started out as a fork 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 are nicer with the prettyprinter backend, configurable syntax highlighting is supported, and unicode escaping is configurable. However, this backend is less mature and hasn't been used as much in practice, so there are likely more formatting bugs than in portray-pretty. Please do file bugs on the GitHub issue tracker if you find anything that seems obviously wrong!

Try using pp as the print function in GHCi: :set -interactive-print=Data.Portray.Prettyprinter.pp!

Author
Andrew Pritchard <awpritchard@gmail.com>
Bug reports
https://github.com/google/hs-portray/issues
Category
Text
Copyright
2021 Google LLC
Homepage
https://github.com/google/hs-portray#readme
Maintainer
Andrew Pritchard <awpritchard@gmail.com>
Package URL
n/a
Stability
n/a

Components