listsafe

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

LTS Haskell 9.14:0.1.0.1
Stackage Nightly 2017-11-18:0.1.0.1
Latest on Hackage:0.1.0.1
Apache-2.0 licensed by Janos Tapolczai
Maintained by janos.tapolczai@gmail.com

Module documentation for 0.1.0.1

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.

comments powered byDisqus