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, 0.3.15
Dependencies base (<5) [details]
License BSD3
Copyright Neil Mitchell 2007-2011
Author Neil Mitchell <>
Maintainer Neil Mitchell <>
Category Unclassified
Home page
Source repository head: darcs get
Uploaded Tue Nov 15 18:45:26 UTC 2011 by NeilMitchell
Distributions Arch:0.3.15, Debian:0.3.9, Fedora:0.3.14, FreeBSD:0.3.9, LTSHaskell:0.3.15, NixOS:0.3.15, Stackage:0.3.15, Tumbleweed:0.3.15
Downloads 129750 total (7957 in the last 30 days)
1 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees