[PATCH 2/2] System.IO.Unsafe: cleanup: make unsafeFixIO pseudocode more valid

slyich at gmail.com slyich at gmail.com
Wed Sep 18 13:07:04 UTC 2013


From: Sergei Trofimovich <slyfox at gentoo.org>

Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
---
 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 1971e9f..67068c5 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 (...)
 --
-- 
1.8.3.2




More information about the ghc-devs mailing list