Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
sendM :: (Member (Lift n) sig, Carrier sig m, Functor n) => n a -> m a Source #
Given a Lift n
constraint in a signature carried by m
, sendM
promotes arbitrary actions of type n a
to m a
. It is spiritually
similar to lift
from the MonadTrans
typeclass.
Instances
MonadTrans LiftC Source # | |
Defined in Control.Effect.Lift | |
Monad m => Monad (LiftC m) Source # | |
Functor m => Functor (LiftC m) Source # | |
MonadFail m => MonadFail (LiftC m) Source # | |
Defined in Control.Effect.Lift | |
Applicative m => Applicative (LiftC m) Source # | |
MonadIO m => MonadIO (LiftC m) Source # | |
Defined in Control.Effect.Lift | |
Alternative m => Alternative (LiftC m) Source # | |
MonadPlus m => MonadPlus (LiftC m) Source # | |
Monad m => Carrier (Lift m) (LiftC m) Source # | |