From d64471406f94b2906c68762a94c32575f98900b2 Mon Sep 17 00:00:00 2001 From: ross Date: Sun, 17 Oct 2004 00:08:09 +0000 Subject: [PATCH] [project @ 2004-10-17 00:08:08 by ross] markup --- Data/IORef.hs | 2 +- Foreign.hs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.10.4