summaryrefslogtreecommitdiff
path: root/libraries/base/System
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox at gentoo.org>2013-09-30 15:12:29 +0200
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2013-09-30 15:12:29 +0200
commita29423d1a9419a94e054807a0b16c688b5d97548 (patch)
treea93ccca9ed5695c6479e550b2b96d0f7bd405cf5 /libraries/base/System
parentb3caee62fc543594afae6759123e77c79359086b (diff)
downloadhaskell-a29423d1a9419a94e054807a0b16c688b5d97548.tar.gz
System.IO.Unsafe: cleanup: make unsafeFixIO pseudocode more valid
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
Diffstat (limited to 'libraries/base/System')
-rw-r--r--libraries/base/System/IO/Unsafe.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/System/IO/Unsafe.hs b/libraries/base/System/IO/Unsafe.hs
index 99284f2f74..91ce45c62b 100644
--- a/libraries/base/System/IO/Unsafe.hs
+++ b/libraries/base/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 (...)
--