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
Versions 0.1.0.0, 0.1.1.0, 0.1.1.1
Dependencies base (>=4.8.1.0 && <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 Thu Jul 20 15:53:44 UTC 2017
Distributions NixOS:0.1.1.1
Downloads 2121 total (30 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-07-20 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees