rio-prettyprint: Pretty-printing for RIO

[ bsd3, development, library ] [ Propose Tags ] [ Report a vulnerability ]

Combine RIO's log capabilities with pretty printing


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.1.4.0, 0.1.5.0, 0.1.6.0, 0.1.7.0, 0.1.8.0
Change log ChangeLog.md
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
Maintainer michael@snoyman.com
Category Development
Home page https://github.com/commercialhaskell/rio-prettyprint#readme
Bug tracker https://github.com/commercialhaskell/rio-prettyprint/issues
Source repo head: git clone https://github.com/commercialhaskell/rio-prettyprint
Uploaded by mpilgrem at 2023-12-24T13:47:24Z
Distributions Arch:0.1.6.0, Debian:0.1.1.0, Fedora:0.1.4.0, LTSHaskell:0.1.8.0, NixOS:0.1.8.0, Stackage:0.1.8.0
Reverse Dependencies 5 direct, 4 indirect [details]
Downloads 7515 total (71 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-0.1.8.0

[back to package description]

rio-prettyprint

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.