pepeiborra / control-monad-failure

A class of monads which can fail with an error

This URL has Read+Write access

name age message
directory Control/ Sun Dec 06 12:09:13 -0800 2009 remove a WrapFailure instance for IO this must... [José Iborra]
file README Tue Dec 01 05:53:25 -0800 2009 Add a mention to the Haskellwiki Failure page i... [pepe]
file Setup.lhs Sun Dec 06 13:11:41 -0800 2009 Failure category and package ranges [snoyberg]
file control-monad-failure-mtl.cabal.pp Sun Dec 06 13:11:41 -0800 2009 Failure category and package ranges [snoyberg]
file control-monad-failure.cabal.pp Sun Dec 06 13:11:41 -0800 2009 Failure category and package ranges [snoyberg]
README
DESCRIPTION:

This package provides a class for monads which can fail with an error

>   class Monad m => MonadFailure e m where
>       failure :: e -> m a


There is further information in the Haskell wiki:

http://www.haskell.org/haskellwiki/Failure

INSTALL:

There are two versions of this library, one packaging instances for the
monads defined in the transformers library, and another one with instances
for the monad transformer library (mtl).

You can install each of them with Cabal by first removing the .pp suffix
from its associated cabal descriptor and then running the command "cabal install".
The cabal descriptor files are:

transformers  -  control-monad-failure.cabal.pp
mtl           -  control-monad-failure-mtl.cabal.pp


CONTRIBUTING:

The sources are available in a git repository at:

http://github.com/pepeiborra/control-monad-failure

Patches are welcome.