Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
MVar that always evaluates its argument to WHNF
Documentation
data StrictMVar a Source
newEmptyMVar :: IO (StrictMVar a) Source
newMVar :: a -> IO (StrictMVar a) Source
takeMVar :: StrictMVar a -> IO a Source
putMVar :: StrictMVar a -> a -> IO () Source
readMVar :: StrictMVar a -> IO a Source
swapMVar :: StrictMVar a -> a -> IO a Source
tryTakeMVar :: StrictMVar a -> IO (Maybe a) Source
tryPutMVar :: StrictMVar a -> a -> IO Bool Source
isEmptyMVar :: StrictMVar a -> IO Bool Source
withMVar :: StrictMVar a -> (a -> IO b) -> IO b Source
modifyMVar_ :: StrictMVar a -> (a -> IO a) -> IO () Source
modifyMVar :: forall a b. StrictMVar a -> (a -> IO (a, b)) -> IO b Source