From: panne Date: Sat, 14 Sep 2002 09:27:21 +0000 (+0000) Subject: [project @ 2002-09-14 09:27:21 by panne] X-Git-Tag: nhc98-1-18-release~854 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=72f3710df6ac24bcad82b3f7fd158aa8c14ee86f;p=ghc-base.git [project @ 2002-09-14 09:27:21 by panne] Make Haddock happy --- diff --git a/GHC/IOBase.lhs b/GHC/IOBase.lhs index 60ae45b..6f7d9c9 100644 --- a/GHC/IOBase.lhs +++ b/GHC/IOBase.lhs @@ -133,9 +133,10 @@ performs side effects, then the relative order in which those side effects take place (relative to the main I\/O trunk, or other calls to 'unsafePerformIO') is indeterminate. You have to be careful when writing and compiling modules that use 'unsafePerformIO': - * Use @{-# NOINLINE foo #-}@ as a pragma on any function @foo@ + + * Use @{\-\# NOINLINE foo \#-\}@ as a pragma on any function @foo@ that calls 'unsafePerformIO'. If the call is inlined, - the I/O may be performed more than once. + the I\/O may be performed more than once. * Use the compiler flag @-fno-cse@ to prevent common sub-expression elimination being performed on the module, which might combine