Patches for reallyUnsafePtrEquality# change
This MR deals with the fallout from ghc!6075 (closed). The necessary changes are of the following form:
- replace the idiom
unsafeCoerce# reallyUnsafePtrEquality#
withreallyUnsafePtrEquality#
, now thatreallyUnsafePtrEquality#
is more general and levity-polymorphic, - change imports of
GHC.Prim
toGHC.Exts
, as some of the pointer comparison operations (such assameMutVar#
,sameMutableByteArray#
, etc) are no longer primops. This means they are no longer exported byGHC.Prim
, and are instead re-exported fromGHC.Exts
.
Edited by sheaf