mirror of
https://github.com/Mesabloo/diagnose.git
synced 2024-08-16 14:50:34 +03:00
A simple library for reporting compiler/interpreter errors
asciicompiler-errorserror-reportinghaskellinterpreter-errorslibrarystarred-mesabloo-repostarred-repounicode
assets | ||
nix | ||
src | ||
test | ||
.gitignore | ||
diagnose.cabal | ||
hie.yaml | ||
LICENSE | ||
package.yaml | ||
README.md | ||
stack.yaml |
Error reporting made easy
Diagnose is a small library used to report compiler/interpreter errors in a beautiful yet readable way.
As a great example, here's the output of the last test:
If you do not like unicode characters, or choose to target platforms which cannot output them natively; you may alternatively print the whole diagnostic with ASCII characters, like this:
Copyright (c) 2021 Mesabloo, all rights reserved.