Changes between Version 6 and Version 7 of NewPrimopsInGHC7.8


Ignore:
Timestamp:
Aug 22, 2013 2:49:57 PM (21 months ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewPrimopsInGHC7.8

    v6 v7  
    11= Primop changes in GHC 7.8 
    22 
    3 In GHC 7.8 we modified primops that returned a `Bool`. This includes comparisons between unboxed values (like `==#` or `ltFloat#`) as well as `sameMutableArray#`, `sameMutableByteArray#`, `sameMutableArrayArray#`, `sameMutVar#`, `sameMVar#` and `sameTVar#`. These changes are not backwards compatible and if you used any of these primops then you need to adjust your code. Adjustments are simple and should take no longer than a couple of minutes. 
     3In GHC 7.8 we modified primops that returned a `Bool`. This includes comparisons between unboxed values (like `==#` or `ltFloat#`) as well as `sameMutableArray#`, `sameMutableByteArray#`, `sameMutableArrayArray#`, `sameMutVar#`, `sameMVar#` and `sameTVar#`. These changes are not backwards compatible and if you use any of these primops then you need to adjust your code. Adjustments are simple and should take no longer than a couple of minutes. 
    44 
    55  * If your code uses primops for comparing unboxed `Char#`, `Int#`, `Word#`, `Float#`, `Double#` or `Addr#` you need to import `GHC.PrimWrappers` module into your code. Note that `GHC.PrimWrappers` is re-exported by `GHC.Exts`, so if you already import `GHC.Exts` then you don't need to change anything.