located-base: Location-aware variants of partial functions

[ bsd3, development, library ] [ Propose Tags ]

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

Maintainer's Corner

Package maintainers

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 && <4.9) [details]
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 2015-07-30T20:38:15Z
Distributions NixOS:0.1.1.1
Reverse Dependencies 2 direct, 21 indirect [details]
Downloads 5108 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-09-29 [all 3 reports]