transformers-0.2.1.0: Concrete functor and monad transformersSource codeContentsIndex
Control.Monad.IO.Class
Portabilityportable
Stabilityexperimental
Maintainerlibraries@haskell.org
Description
Class of monads based on IO.
Synopsis
class Monad m => MonadIO m where
liftIO :: IO a -> m a
Documentation
class Monad m => MonadIO m whereSource

Monads in which IO computations may be embedded. Any monad built by applying a sequence of monad transformers to the IO monad will be an instance of this class.

Instances should satisfy the following laws, which state that liftIO is a transformer of monads:

Methods
liftIO :: IO a -> m aSource
Lift a computation from the IO monad.
Produced by Haddock version 2.6.1