Skip to content
Snippets Groups Projects
Commit 8bdfa4b8 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-05-22 15:58:03 by simonm]

- don't inline runST.
parent 6bfd2f54
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment