Safe wrappers for partial list functions, supporting MonadThrow.

Version on this page:
LTS Haskell 12.24:
Stackage Nightly 2018-12-18:
Latest on Hackage:

See all snapshots listsafe appears in

Apache-2.0 licensed by Janos Tapolczai
Maintained by

Module documentation for

There are no documented modules for this package.

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:
comments powered byDisqus