Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/91f37c8ab5381278df028f4f9815753e3a74ab96

>---------------------------------------------------------------

commit 91f37c8ab5381278df028f4f9815753e3a74ab96
Author: Simon Marlow <[email protected]>
Date:   Mon Jul 11 09:58:48 2011 +0100

    small tweaks to docs

>---------------------------------------------------------------

 GHC/IO.hs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/GHC/IO.hs b/GHC/IO.hs
index 6cdbacc..cc4fbb4 100644
--- a/GHC/IO.hs
+++ b/GHC/IO.hs
@@ -164,9 +164,9 @@ unsafePerformIO :: IO a -> a
 unsafePerformIO m = unsafeDupablePerformIO (noDuplicate >> m)
 
 {-| 
-This version of 'unsafePerformIO' is slightly more efficient,
+This version of 'unsafePerformIO' is more efficient
 because it omits the check that the IO is only being performed by a
-single thread.  Hence, when you write 'unsafeDupablePerformIO',
+single thread.  Hence, when you use 'unsafeDupablePerformIO',
 there is a possibility that the IO action may be performed multiple
 times (on a multiprocessor), and you should therefore ensure that
 it gives the same results each time.



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to