The latest version of exceptional is 0.3.0.0-0.
exceptional
Version 0.1.4.2 revision 0 uploaded by pharpend.
Package meta
- Synopsis
- Essentially the Maybe type with error messages.
- Description
This is a very simple type:
data Exceptional x = Failure String | Success x
It's much like
Maybe
, except instead ofNothing
, we haveFailure String
.A comparison could also be made to
Either String
. I made this library because I was dissatisfied with theMonad
instance forEither
. In this type,fail = Failure
. It's rather simple.- Author
- Peter Harpending
- Bug reports
- https://github.com/pharpend/exceptional/issues
- Category
- Control
- Copyright
- Copyright (c) 2015, Peter Harpending.
- Homepage
- https://github.com/pharpend/exceptional
- Maintainer
- peter@harpending.org
- Package URL
- n/a
- Stability
- n/a