@hackage rio-prettyprint0.1.9.0
Pretty-printing for RIO
Categories
License
BSD-3-Clause
Maintainer
michael@snoyman.com
Links
Versions
Installation
Dependencies (11)
- Cabal
- aeson
- annotated-wl-pprint
- ansi-terminal >=0.9
- array
- base >=4.10 && <5 Show all…
Dependents (5)
@hackage/stack, @hackage/http-download, @hackage/aeson-warning-parser, @hackage/pantry-tmp, @hackage/pantry
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.