rio-prettyprint

Combine RIO's log capabilities with pretty printing


Keywords
development, library, Propose Tags, Skip to Readme, , Index, Quick Jump, RIO.PrettyPrint, RIO.PrettyPrint.DefaultStyles, RIO.PrettyPrint.PrettyException, RIO.PrettyPrint.Simple, RIO.PrettyPrint.StylesUpdate, RIO.PrettyPrint.Types, Text.PrettyPrint.Leijen.Extended, rio-prettyprint-0.1.8.0.tar.gz, browse, Package description, Package maintainers, MichaelSnoyman, borsboom, fpcomplete, mpilgrem, edit package information , rio package, annotated-wl-pprint package, ansi-terminal-types package
License
BSD-3-Clause
Install
cabal install rio-prettyprint-0.1.8.0

Documentation

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.