Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Composition of monad transformers. A higher-order version of Data.Functor.Compose.
- newtype ComposeT f g m a = ComposeT {
- getComposeT :: f (g m) a
- mapComposeT :: (f (g m) a -> p (q n) b) -> ComposeT f g m a -> ComposeT p q n b
ComposeT
newtype ComposeT f g m a infixr 9 Source
Composition of monad transformers.
ComposeT infixr 9 | |
|
mapComposeT :: (f (g m) a -> p (q n) b) -> ComposeT f g m a -> ComposeT p q n b Source
Transform the computation inside a ComposeT
.