Deprecated

safe-failure

Library for safe functions (deprecated)

http://www-users.cs.york.ac.uk/~ndm/safe/

Latest on Hackage:0.5.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Neil Mitchell, Jose Iborra (2009), Michael Snoyman (2009)
Maintained by [email protected]

Partial functions from the base library, such as head and !!, modified to fail in a Failure. These functions can be used to reduce the number of unsafe pattern matches in your code.