X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2Fstd%2FPrelST.lhs;h=8cf8f372fba61af7cf02e4524cce88af7bf3acaf;hb=44710bcbf7f5424c01efa4adefd391e960362f8f;hp=996e7cf49d37b8085ada1572ea3cd42d430f1831;hpb=ce6e38dc12b5feae2eb43e94d833646a9c921cda;p=ghc-hetmet.git diff --git a/ghc/lib/std/PrelST.lhs b/ghc/lib/std/PrelST.lhs index 996e7cf..8cf8f37 100644 --- a/ghc/lib/std/PrelST.lhs +++ b/ghc/lib/std/PrelST.lhs @@ -1,5 +1,5 @@ % ------------------------------------------------------------------------------ -% $Id: PrelST.lhs,v 1.15 2000/06/30 13:39:36 simonmar Exp $ +% $Id: PrelST.lhs,v 1.21 2001/09/26 15:12:37 simonpj Exp $ % % (c) The University of Glasgow, 1992-2000 % @@ -11,10 +11,9 @@ module PrelST where -import PrelShow import PrelBase -import PrelGHC -import PrelNum () -- So that we get the .hi file for system imports +import PrelShow +import PrelNum default () \end{code} @@ -112,9 +111,9 @@ runST :: (forall s. ST s a) -> a runST st = runSTRep (case st of { ST st_rep -> st_rep }) -- I'm only letting runSTRep be inlined right at the end, in particular *after* full laziness --- That's what the "INLINE 100" says. +-- That's what the "INLINE [0]" says. -- SLPJ Apr 99 -{-# INLINE 100 runSTRep #-} +{-# INLINE [0] runSTRep #-} runSTRep :: (forall s. STRep s a) -> a runSTRep st_rep = case st_rep realWorld# of (# _, r #) -> r