Control.Monad.IO.Class.Linear
class Monad m => MonadIO m where Source #
Like MonadIO but allows to lift both linear and non-linear IO actions into a linear monad.
MonadIO
IO
Minimal complete definition
liftIO
Methods
liftIO :: IO a %1 -> m a Source #
liftSystemIO :: IO a -> m a Source #
liftSystemIOU :: IO a -> m (Ur a) Source #
Defined in Control.Monad.IO.Class.Linear
liftIO :: IO a %1 -> IO a Source #
liftSystemIO :: IO0 a -> IO a Source #
liftSystemIOU :: IO0 a -> IO (Ur a) Source #