Changes between Version 1 and Version 2 of NewPrimopsInGHC7.8


Ignore:
Timestamp:
Aug 22, 2013 2:34:40 PM (8 months ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewPrimopsInGHC7.8

    v1 v2  
    77  * If your code uses `sameMutableArray#`, `sameMutableByteArray#`, `sameMutableArrayArray#`, `sameMutVar#`, `sameMVar#` or `sameTVar#`, you need to import `GHC.PrimWrappers` and remove `#` from the names of these functions. In other words, functions that you should be using now are `sameMutableArray`, `sameMutableByteArray`, `sameMutableArrayArray`, `sameMutVar`, `sameMVar` and `sameTVar`, respectively.  
    88 
    9 That's all you need to do. If your interested in technical details behind this change, see [http://ghc.haskell.org/trac/ghc/wiki/PrimBool this page]. Note also that you can use new primops to write branchless algorithms. 
     9That's all you need to do. If your interested in technical details behind this change, see [http://ghc.haskell.org/trac/ghc/wiki/PrimBool this page].