[project @ 1998-05-22 15:58:03 by simonm]
authorsimonm <unknown>
Fri, 22 May 1998 15:58:03 +0000 (15:58 +0000)
committersimonm <unknown>
Fri, 22 May 1998 15:58:03 +0000 (15:58 +0000)
- don't inline runST.

ghc/lib/exts/LazyST.lhs

index 29c7814..7ba3074 100644 (file)
@@ -60,7 +60,7 @@ instance Monad (ST s) where
            in
            k_a new_s
 
--- ToDo: un-inline this, it could cause problems...
+{-# NOINLINE runST #-}
 runST :: (All s => ST s a) -> a
 runST st = case st of ST st -> let (r,_) = st (PrelST.S# realWorld#) in r
 \end{code}