Safe Haskell | Safe-Inferred |
---|
Documentation
atomicModifyIORef' :: IORef a -> (a -> (a, b)) -> IO b
Strict version of atomicModifyIORef
. This forces both the value stored
in the IORef
as well as the value returned.
Safe Haskell | Safe-Inferred |
---|
atomicModifyIORef' :: IORef a -> (a -> (a, b)) -> IO b
Strict version of atomicModifyIORef
. This forces both the value stored
in the IORef
as well as the value returned.