System.IO.Unsafe: cleanup: make unsafeFixIO pseudocode more valid
authorSergei Trofimovich <slyfox at gentoo.org>
Mon, 30 Sep 2013 13:12:29 +0000 (15:12 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Mon, 30 Sep 2013 13:12:29 +0000 (15:12 +0200)
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
libraries/base/System/IO/Unsafe.hs

index 99284f2..91ce45c 100644 (file)
@@ -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 (...)
 --