Changes between Initial Version and Version 1 of Ticket #5073


Ignore:
Timestamp:
Apr 1, 2011 3:07:24 PM (4 years ago)
Author:
simonpj
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5073 – Description

    initial v1  
    1414promoteVar# :: MutVar# s a -> MutVar# (s,r) a 
    1515}}} 
    16 All three are implemented as no-ops. 
     16All three are implemented as no-ops.  (Compare with `newMutVar#` etc in http://darcs.haskell.org/ghc/compiler/prelude/primops.txt.pp.) 
    1717 
    18 Now the implementations look (something) like this: 
     18Now the implementations look (something) like this. (For background see the current impementations of `ST` and `STRef` in http://darcs.haskell.org/packages/base/GHC (`ST.lhs` and `STRef.lhs` resp.) 
    1919{{{ 
    2020blockST (ST thing) = ST (\s -> case thing (promoteState# s) of