Movatterモバイル変換


[0]ホーム

URL:


base-4.12.0.0: Basic libraries

Copyright(c) Andy Gill 2001
(c) Oregon Graduate Institute of Science and Technology 2001
LicenseBSD-style (see the file LICENSE)
MaintainerR.Paterson@city.ac.uk
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Control.Monad.IO.Class

Description

Class of monads based onIO.

Synopsis

Documentation

classMonad m =>MonadIO mwhereSource#

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

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

Methods

liftIO ::IO a -> m aSource#

Lift a computation from theIO monad.

Instances
MonadIOIOSource#

Since: 4.9.0.0

Instance details

Defined inControl.Monad.IO.Class

Methods

liftIO ::IO a ->IO aSource#

Produced byHaddock version 2.20.0


[8]ページ先頭

©2009-2025 Movatter.jp