Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module is a duplication of the Control.Monad.IO.Class module, for constrained monads.
- class Monad m => MonadIO m where
- type SuitableIO m a :: Constraint
Documentation
class Monad m => MonadIO m where Source #
A class for monads which can have IO actions lifted into them.
type SuitableIO m a :: Constraint Source #
liftIO :: SuitableIO m a => IO a -> m a Source #