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
  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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,
Dependencies base (>= && <5) [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 2017-07-20T15:53:44Z
Distributions NixOS:
Reverse Dependencies 2 direct, 21 indirect [details]
Downloads 5165 total (23 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]