The safe package
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.
Properties
| Versions | 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3 |
|---|---|
| Dependencies | base (<5) |
| License | BSD3 |
| Copyright | Neil Mitchell 2007-2011 |
| Author | Neil Mitchell <ndmitchell@gmail.com> |
| Maintainer | Neil Mitchell <ndmitchell@gmail.com> |
| Category | Unclassified |
| Home page | http://community.haskell.org/~ndm/safe/ |
| Source repository | darcs get http://community.haskell.org/~ndm/darcs/safe/ |
| Upload date | Wed Nov 9 17:15:25 UTC 2011 |
| Uploaded by | NeilMitchell |
| Built on | ghc-7.2 |
| Distributions | Fedora: 0.3.3, NixOS: 0.3.3, Debian: 0.3.3, FreeBSD: 0.3.3 |
Modules
Downloads
- safe-0.3.1.tar.gz (Cabal source package)
- package description (included in the package)