Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Effect.IO
Contents
Documentation
data MonadIOEffect :: Effect where Source #
Instances
((), MonadIO m) => InterpretEffect m MonadIOEffect Source # | |
Defined in Effect.IO Methods interpretEffect :: forall (ops :: [Effect]) a. (forall b. AST ops b -> m b) -> MonadIOEffect (AST ops) a -> m a Source # | |
MonadIO m => InterpretEffectStateful x m MonadIOEffect Source # | A "passthough" instance for |
Defined in Effect.IO.Passthrough Methods interpretEffectStateful :: forall (ops :: [Effect]) x0 a. (forall b y. x y -> AST ops b -> m (b, x y)) -> x x0 -> MonadIOEffect (AST ops) a -> m (a, x x0) Source # |
Orphan instances
((), EffectInject MonadIOEffect ops) => MonadIO (AST ops) Source # | |