1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
cabal-version: >= 1.6
build-type: Simple
name: safe
version: 0.3.3
license: BSD3
license-file: LICENSE
category: Unclassified
author: Neil Mitchell <ndmitchell@gmail.com>
maintainer: Neil Mitchell <ndmitchell@gmail.com>
copyright: Neil Mitchell 2007-2011
homepage: http://community.haskell.org/~ndm/safe/
synopsis: Library for safe (pattern match free) functions
description:
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.
source-repository head
type: darcs
location: http://community.haskell.org/~ndm/darcs/safe/
library
build-depends:
base < 5
exposed-modules:
Safe
Safe.Foldable
|