monadLib-3.3.0: A collection of monad transformers.ContentsIndex
Monads
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
show/hide Instances
data Writer i a
show/hide Instances
data State i a
show/hide Instances
data Exception i a
show/hide Instances
data Cont i a
show/hide 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