[commit: packages/base] master: System.IO.Unsafe: cleanup: make unsafeFixIO pseudocode more valid (e2a31b6)

git at git.haskell.org git at git.haskell.org
Mon Sep 30 15:16:35 CEST 2013


Repository : ssh://git@git.haskell.org/base

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e2a31b6845aa168db6f8aaa90506d1ea997af69e/base

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

commit e2a31b6845aa168db6f8aaa90506d1ea997af69e
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Mon Sep 30 15:12:29 2013 +0200

    System.IO.Unsafe: cleanup: make unsafeFixIO pseudocode more valid
    
    Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>


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

e2a31b6845aa168db6f8aaa90506d1ea997af69e
 System/IO/Unsafe.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/IO/Unsafe.hs b/System/IO/Unsafe.hs
index 99284f2..91ce45c 100644
--- a/System/IO/Unsafe.hs
+++ b/System/IO/Unsafe.hs
@@ -33,7 +33,7 @@ import Control.Exception
 -- safe to use with multiple threads.  The unsafety arises when used
 -- like this:
 --
--- >  unsafeFixIO $ \r ->
+-- >  unsafeFixIO $ \r -> do
 -- >     forkIO (print r)
 -- >     return (...)
 --




More information about the ghc-commits mailing list