errata: Source code error pretty printing

[ library, mit, pretty-printer, program ] [ Propose Tags ]

An extremely customizable error pretty printer that can handle many kinds of error formatting. It can handle errors that are connected, disconnected, and those spanning multiple lines.

You can get started by importing the Errata module.


[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.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2
Change log CHANGELOG.md
Dependencies base (>=4.12 && <4.15), containers (>=0.6.0.1 && <0.7), errata, text (>=1.2.3.1 && <1.3) [details]
License MIT
Copyright (c) 2020 comp
Author comp
Maintainer onecomputer00@gmail.com
Category Pretty Printer
Home page https://github.com/1Computer1/errata
Bug tracker https://github.com/1Computer1/errata/issues
Source repo head: git clone https://github.com/1Computer1/errata.git
Uploaded by comp at 2020-09-04T00:09:39Z
Distributions LTSHaskell:0.4.0.2, NixOS:0.4.0.2, Stackage:0.4.0.2
Reverse Dependencies 2 direct, 1 indirect [details]
Executables errata-example
Downloads 788 total (34 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-09-04 [all 1 reports]

Readme for errata-0.1.0.0

[back to package description]

Errata

MIT License Hackage CI

Errata is an extremely customizable error pretty printer that can handle many kinds of error formatting. For example, it can handle errors that are all over the source or errors that are connected to each other spanning multiple lines. You can be as simple or as fancy as you like!

You can also customize the format of the printer in several ways:

  • Custom messages and labels
  • Custom character sets for symbols
  • Highlighting the source, messages, and symbols

Here is an example of a pretty error message from Errata:

Pretty error message