From: ross Date: Sun, 17 Oct 2004 00:08:09 +0000 (+0000) Subject: [project @ 2004-10-17 00:08:08 by ross] X-Git-Tag: nhc98-1-18-release~212 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d64471406f94b2906c68762a94c32575f98900b2;p=ghc-base.git [project @ 2004-10-17 00:08:08 by ross] markup --- 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__) diff --git a/Foreign.hs b/Foreign.hs index d4bbb3d..fc25159 100644 --- a/Foreign.hs +++ b/Foreign.hs @@ -24,8 +24,8 @@ module Foreign , module Foreign.Storable , module Foreign.Marshal - -- For compatibility with the FFI addendum only. The recommended - -- place to get this from is System.IO.Unsafe. + -- | For compatibility with the FFI addendum only. The recommended + -- place to get this from is "System.IO.Unsafe". , unsafePerformIO ) where