Module
Effect.Class
- Package
- purescript-effect
- Repository
- purescript/purescript-effect
#MonadEffect Source
class (Monad m) <= MonadEffect m where
The MonadEffect
class captures those monads which support native effects.
Instances are provided for Effect
itself, and the standard monad
transformers.
liftEffect
can be used in any appropriate monad transformer stack to lift an
action of type Effect a
into the monad.
Members
liftEffect :: forall a. Effect a -> m a