Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
sendM :: (Member (Lift n) sig, Carrier sig m, Functor n, Applicative m) => 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.