patch applied (packages/base): FIX #1282: 64-bit unchecked shifts are not exported from base

Simon Marlow simonmar at microsoft.com
Thu Aug 23 10:10:37 EDT 2007


Thu Aug 23 06:50:33 PDT 2007  Simon Marlow <simonmar at microsoft.com>
  * FIX #1282: 64-bit unchecked shifts are not exported from base
  I've exported these functions from GHC.Exts.  They are still
  implemented using the FFI underneath, though.
  
  To avoid conditional exports, on a 64-bit build:
  
    uncheckedShiftL64# = uncheckShiftL#
  
  (etc.) which has a different type than the 32-bit version of
  uncheckedShiftL64#, but at least GHC.Exts exports the same names.
  

    M ./GHC/Exts.hs +3
    M ./GHC/Int.hs -3 +6
    M ./GHC/Word.hs -2 +7


More information about the Cvs-libraries mailing list