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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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.10) [details]
License BSD-3-Clause
Copyright Eric Seidel 2015
Author Eric Seidel
Maintainer eric@seidel.io
Revised Revision 1 made by phadej at 2017-10-14T12:33:04Z
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 2016-05-05T21:23:35Z
Distributions NixOS:0.1.1.1
Reverse Dependencies 2 direct, 21 indirect [details]
Downloads 5106 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-05-05 [all 1 reports]