mmorph-1.0.4: Monad morphisms

Safe HaskellSafe-Inferred

Control.Monad.Trans.Compose

Contents

Description

Composition of monad transformers. A higher-order version of Data.Functor.Compose.

Synopsis

ComposeT

newtype ComposeT f g m a Source

Composition of monad transformers.

Constructors

ComposeT 

Fields

getComposeT :: f (g m) a
 

Instances

(MFunctor f, MonadTrans f, MonadTrans g) => MonadTrans (ComposeT f g) 
Monad (f (g m)) => Monad (ComposeT f g m) 
Functor (f (g m)) => Functor (ComposeT f g m) 
MonadPlus (f (g m)) => MonadPlus (ComposeT f g m) 
Applicative (f (g m)) => Applicative (ComposeT f g m) 
Foldable (f (g m)) => Foldable (ComposeT f g m) 
Traversable (f (g m)) => Traversable (ComposeT f g m) 
Alternative (f (g m)) => Alternative (ComposeT f g m) 
MonadIO (f (g m)) => MonadIO (ComposeT f g m)