Safe Haskell | Safe |
---|---|
Language | Haskell98 |
This module temporarily holds this class until it can find a better home.
- class MFunctor t where
Monads over functors
class MFunctor t where Source #
A functor in the category of monads
mapT :: (Monad m, Monad n) => (forall a. m a -> n a) -> t m b -> t n b Source #
Lift a monad morphism from m
to n
into a monad morphism from
(t m)
to (t n)
MFunctor (Proxy a' a b' b) Source # | |
MFunctor (p a' a b' b) => MFunctor (IdentityP p a' a b' b) Source # | |
MFunctor (p a' a b' b) => MFunctor (MaybeP p a' a b' b) Source # | |
MFunctor (p a' a b' b) => MFunctor (EitherP e p a' a b' b) Source # | |
MFunctor (p a' a b' b) => MFunctor (ReaderP i p a' a b' b) Source # | |
MFunctor (p a' a b' b) => MFunctor (StateP s p a' a b' b) Source # | |
MFunctor (p a' a b' b) => MFunctor (WriterP w p a' a b' b) Source # | |