rio-prettyprint: Pretty-printing for RIO

[ bsd3, development, library ] [ Propose Tags ]

Combine RIO's log capabilities with pretty printing

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,
Change log
Dependencies aeson, annotated-wl-pprint, ansi-terminal (>=0.9), array, base (>=4.10 && <5), Cabal, colour, mtl, path (>0.9.1), rio, text [details]
License BSD-3-Clause
Copyright 2018-2023 FP Complete
Author Michael Snoyman
Category Development
Home page
Bug tracker
Source repo head: git clone
Uploaded by mpilgrem at 2023-12-24T13:47:24Z
Distributions Arch:, Debian:, Fedora:, LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 5 direct, 4 indirect [details]
Downloads 7095 total (82 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-12-24 [all 1 reports]

Readme for rio-prettyprint-

[back to package description]


rio-prettyprint is a Haskell package that provides a library that combines the logging capabilities of the rio package with the pretty printing capabilities of the annotated-wl-pprint package.

Documents can be annotated with an optional style from a set of named styles, and the style associated with each named style can be specified as a list of ANSI Select Graphic Rendition (SGR) commands. These commands are represented by the constructors of a type provided by the ansi-terminal-types package

The library also provides:

  • a type that represents a simple, non-customisable environments that provide pretty logging functionality; and
  • a type that represents pretty exceptions.