projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c67e3
)
[project @ 1997-05-26 05:14:14 by sof]
author
sof
<unknown>
Mon, 26 May 1997 05:14:14 +0000
(
05:14
+0000)
committer
sof
<unknown>
Mon, 26 May 1997 05:14:14 +0000
(
05:14
+0000)
Fluff
ghc/lib/ghc/STBase.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/ghc/STBase.lhs
b/ghc/lib/ghc/STBase.lhs
index
bdc7a65
..
1eaa104
100644
(file)
--- a/
ghc/lib/ghc/STBase.lhs
+++ b/
ghc/lib/ghc/STBase.lhs
@@
-43,9
+43,11
@@
instance Monad (ST s) where
case (k r) of { ST k2 ->
(k2 new_s) }}
-{-# INLINE returnST #-}
+
-- here for backward compatibility:
+
+{-# INLINE returnST #-}
returnST :: a -> ST s a
thenST :: ST s a -> (a -> ST s b) -> ST s b
seqST :: ST s a -> ST s b -> ST s b