listsafe

Safe wrappers for partial list functions, supporting MonadThrow. https://github.com/ombocomp/listsafe

LTS Haskell 14.17:0.1.0.1
Stackage Nightly 2019-12-12:0.1.0.1
Latest on Hackage:0.1.0.1

See all snapshots listsafe appears in

Apache-2.0 licensed by Janos Tapolczai

Module documentation for 0.1.0.1

This version can be pinned in stack with:listsafe-0.1.0.1@sha256:066b02e56926b5bbdb68dec7e2f3b84c62c91898246abed3eb08006d94a41338,1111

Data.List includes a handful of partial functions that throw uncatchable exceptions when given empty lists. This package provides safe alternatives for such functions based on MonadThrow which can provide a variety of failure cases: Nothing, IOException, Left, etc.

Depends on 2 packages(full list with versions):
comments powered byDisqus