Safe Haskell | None |
---|
Documentation
module Data.IORef
class Access io => IORefAccess io whereSource
newIORef' :: a -> io (IORef a)Source
readIORef' :: IORef a -> io aSource
writeIORef' :: IORef a -> a -> io ()Source
modifyIORef_ :: IORef a -> (a -> a) -> io ()Source
modifyIORef_' :: IORef a -> (a -> a) -> io ()Source
atomicModifyIORef_ :: IORef a -> (a -> (a, b)) -> io bSource
atomicModifyIORef_' :: IORef a -> (a -> (a, b)) -> io bSource
atomicWriteIORef' :: IORef a -> a -> io ()Source
class (WeakMemAccess io, IORefAccess io) => WeakIORefAccess io whereSource