on master help sign in
import IORef
commit396c26d3745672fbc08358b535fa890578d11407 authorTakahiro HIMURA <taka@himura.jp> dateThu 7 Aug 2014, 21:13 (12 years ago) parente3b8aae
1 file changed+1−1
auto-update/Control/AutoUpdate/Util.hs+1−1
auto-update/Control/AutoUpdate/Util.hs+1−1
@@ -10,7 +10,7 @@ module Control.AutoUpdate.Util
1010#if MIN_VERSION_base(4,6,0)
1111import Data.IORef (atomicModifyIORef')
1212#else
13−import Data.IORef (atomicModifyIORef)
13+import Data.IORef (IORef, atomicModifyIORef)
1414-- | Strict version of 'atomicModifyIORef'. This forces both the value stored
1515-- in the 'IORef' as well as the value returned.
1616atomicModifyIORef' :: IORef a -> (a -> (a,b)) -> IO b