definitive-base-2.6.3: A small Prelude wrapper to simplify my own Haskell developments
Data.IOVar
data IOVar w r Source #
Instances
Methods
pure :: a -> IOVar w a Source #
join :: IOVar w (IOVar w a) -> IOVar w a Source #
(>>=) :: IOVar w a -> (a -> IOVar w b) -> IOVar w b Source #
(<*>) :: IOVar w (a -> b) -> IOVar w a -> IOVar w b Source #
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 #