X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FIORef.hs;h=7a6ec7d4cb32ecbd1b935ab8272116c8e81ced25;hb=8c4b9f779fe4f3ad108124654e2230e335819e6e;hp=f996a941c4d3afe5607e1534daaa3a9dc30cdfd2;hpb=8b7bc00679e9279612d38a321578b238b624d309;p=haskell-directory.git diff --git a/Data/IORef.hs b/Data/IORef.hs index f996a94..7a6ec7d 100644 --- a/Data/IORef.hs +++ b/Data/IORef.hs @@ -72,7 +72,7 @@ modifyIORef ref f = writeIORef ref . f =<< readIORef ref -- -- Extending the atomicity to multiple 'IORef's is problematic, so it -- is recommended that if you need to do anything more complicated --- then using 'MVar' instead is a good idea. +-- then using 'Control.Concurrent.MVar.MVar' instead is a good idea. -- atomicModifyIORef :: IORef a -> (a -> (a,b)) -> IO b #if defined(__GLASGOW_HASKELL__)