pretty-error: Pretty error messages for runtime invariants
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- Exposed modules use unallocated top-level names: PrettyError
Sometimes you need to assume something at runtime that you can't prove in the type system. When you do that, you should make sure you get a good error message if ever your assumption turns out to be wrong. That's what this library is for.
Use the functions in here to get high quality error messages for when your invariants don't hold at runtime. The functions all pretty print any Haskell values given to them, which makes it easier to understand what's going on when your code breaks.
Properties
Versions | 0.1.0.0, 0.1.0.0 |
---|---|
Change log | None available |
Dependencies | base (>=4 && <5), basic-prelude, bytestring, pretty-show [details] |
License | Apache-2.0 |
Copyright | (c) 2015 Jonathan M. Lange |
Author | Jonathan M. Lange |
Maintainer | jml@mumak.net |
Category | Error Handling |
Home page | https://github.com/jml/pretty-error |
Source repo | head: git clone git://github.com:jml/pretty-error.git |
Uploaded | by jml at 2015-09-05T16:25:52Z |
Modules
[Index]
Downloads
- pretty-error-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees