located-base: Location-aware variants of partial functions
This library provides variants of standard partial functions that include their call-site in the error message when they crash.
For example:
ghci> Data.List.Located.head
[]
*** Exception: Prelude.head: empty list
Callstack:
error, called at src/Data/List/Located.hs:19:14 in locat_KhGZ7Rz1bn9DKFeFxhawNB:Data.List.Located
head, called at <interactive>:6:1 in interactive:Ghci1
Downloads
- located-base-0.1.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.1.1.1 |
---|---|
Dependencies | base (>=4.8.1.0 && <5) [details] |
Tested with | ghc ==7.10.3, ghc ==8.0.2 |
License | BSD-3-Clause |
Copyright | Eric Seidel 2015 |
Author | Eric Seidel |
Maintainer | eric@seidel.io |
Category | Development |
Home page | http://github.com/gridaphobe/located-base |
Bug tracker | http://github.com/gridaphobe/located-base/issues |
Source repo | head: git clone https://github.com/gridaphobe/located-base.git |
Uploaded | by EricSeidel at 2017-07-20T15:53:44Z |
Distributions | NixOS:0.1.1.1 |
Reverse Dependencies | 2 direct, 22 indirect [details] |
Downloads | 5245 total (9 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-07-20 [all 1 reports] |