chapelure-0.0.1.0: A diagnostics library for Haskell
Safe HaskellNone
LanguageHaskell2010

Chapelure.Handler.Colourful

Description

A pretty renderer for Diagnostics. Can optionally render in color

Synopsis

Documentation

render :: Config -> Diagnostic -> DocText Source #

Renders a Diagnostic using the provided Config into a DocText.

prettyConfig :: Config Source #

A pretty rendering configuration, making use of color and Unicode box-drawing characters

asciiColorConfig :: Config Source #

A colorful ASCII rendering configuration

asciiPlainConfig :: Config Source #

A plain ASCII rendering configuration. Useful if the terminal supports neither colour nor box-drawing characters