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 | 2007-2010, Neil Mitchell |
| Author | Neil Mitchell |
| Maintainer | ndmitchell@gmail.com |
| Category | Unclassified |
| Home page | http://community.haskell.org/~ndm/safe/ |
| Upload date | Wed Nov 10 16:20:09 UTC 2010 |
| Uploaded by | NeilMitchell |
| Built on | ghc-6.12, ghc-7.0, 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.tar.gz (Cabal source package)
- package description (included in the package)