Control.Monad.Trans.Compose

mmorph-1.0.4: Monad morphisms

Safe Haskell | Safe
Language | Haskell98

Control.Monad.Trans.Compose

Contents

- ComposeT

Description

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

Synopsis

- newtype ComposeT f g m a = ComposeT {
  - getComposeT :: f (g m) a
  }

# ComposeT

newtype ComposeT f g m a

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) |
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) |
MonadPlus (f (g m)) => MonadPlus (ComposeT f g m) |
MonadIO (f (g m)) => MonadIO (ComposeT f g m) |