definitive-base-2.6.3: A small Prelude wrapper to simplify my own Haskell developments

Safe HaskellNone
LanguageHaskell2010

Data.IOVar

Documentation

data IOVar w r Source #

Instances

Unit (IOVar w) Source # 

Methods

pure :: a -> IOVar w a Source #

Monad (IOVar w) Source # 

Methods

join :: IOVar w (IOVar w a) -> IOVar w a Source #

(>>=) :: IOVar w a -> (a -> IOVar w b) -> IOVar w b Source #

Applicative (IOVar w) Source # 
SemiApplicative (IOVar w) Source # 

Methods

(<*>) :: IOVar w (a -> b) -> IOVar w a -> IOVar w b Source #

Functor (IOVar w) Source # 

Methods

map :: (a -> b) -> IOVar w a -> IOVar w b Source #

newIOVar :: a -> IO (IOVar a a) Source #

readIOVar :: IOVar w r -> IO r Source #

writeIOVar :: IOVar w r -> w -> IO () Source #