|
|
|
|
|
| Description |
| This module contains a collection of monads that
are defined in terms of the monad transformers from
MonadLib. The definitions in this module are
completely mechanical and so this module may become
obsolete if support for automated derivations for instances
becomes well supported across implementations.
|
|
|
| Documentation |
|
| data Reader i a |
Instances | |
|
|
| data Writer i a |
Instances | |
|
|
| data State i a |
Instances | |
|
|
| data Exception i a |
Instances | |
|
|
| data Cont i a |
Instances | |
|
|
| runReader :: i -> Reader i a -> a |
|
| runWriter :: Writer i a -> (a, i) |
|
| runState :: i -> State i a -> (a, i) |
|
| runException :: Exception i a -> Either i a |
|
| runCont :: (a -> i) -> Cont i a -> i |
|
| module MonadLib |
|
| Produced by Haddock version 0.8 |