mirror of
https://github.com/Mesabloo/diagnose.git
synced 2024-11-22 01:32:56 +03:00
A simple library for reporting compiler/interpreter errors
asciicompiler-errorserror-reportinghaskellinterpreter-errorslibrarystarred-mesabloo-repostarred-repounicode
assets | ||
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.