The safe package

[Tags:bsd3, library, test]

Partial functions from the base library, such as head and !!, modified to return more descriptive error messages, programmer defined error messages, Maybe wrapped results and default values. These functions can be used to reduce the number of unsafe pattern matches in your code.


Versions 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14
Dependencies base (<5) [details]
License BSD3
Copyright Neil Mitchell 2007-2011
Author Neil Mitchell <>
Maintainer Neil Mitchell <>
Stability Unknown
Category Unclassified
Home page
Source repository head: darcs get
Uploaded Wed Nov 9 17:15:25 UTC 2011 by NeilMitchell
Distributions Arch:0.3.14, Debian:0.3.9, Fedora:0.3.14, FreeBSD:0.3.9, LTSHaskell:0.3.14, NixOS:0.3.14, Stackage:0.3.14, Tumbleweed:0.3.14
Downloads 97861 total (1527 in the last 30 days)
1 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees