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
Change log CHANGES.txt
Dependencies base (<5) [details]
License BSD3
Copyright Neil Mitchell 2007-2014
Author Neil Mitchell <>
Maintainer Neil Mitchell <>
Category Unclassified
Home page
Source repository head: git clone
Uploaded Thu Jan 30 11:28:06 UTC 2014 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 110367 total (6711 in the last 30 days)
1 []
Status Docs available [build log]
Successful builds reported [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees