monadLib-3.1.0: A collection of monad transformers.Source codeContentsIndex
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 Source
show/hide Instances
data Writer i a Source
show/hide Instances
data State i a Source
show/hide Instances
data Exception i a Source
show/hide Instances
data Cont i a Source
show/hide Instances
runReader :: i -> Reader i a -> aSource
runWriter :: Writer i a -> (a, i)Source
runState :: i -> State i a -> (a, i)Source
runException :: Exception i a -> Either i aSource
runCont :: (a -> i) -> Cont i a -> iSource
module MonadLib
Produced by Haddock version 2.1.0