Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module extends Data.IORef with operations forcing the value written to the IORef. Some of these functions are available in later versions of GHC, but not all.
Synopsis
- module Data.IORef
- writeIORef' :: IORef a -> a -> IO ()
- atomicWriteIORef' :: IORef a -> a -> IO ()
Documentation
module Data.IORef
writeIORef' :: IORef a -> a -> IO () Source #
Evaluates the value before calling writeIORef
.
atomicWriteIORef' :: IORef a -> a -> IO () Source #
Evaluates the value before calling atomicWriteIORef
.