@hackage / listsafe

Safe wrappers for partial list functions, supporting MonadThrow.

Latest0.1.0.1

About

Metadata

  • Last updated , by jtapolczai2
  • License Apache-2.0
  • Maintained by: janos.tapolczai@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

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.