Adapt to `unsafeCoerce#` no longer being exported from `GHC.{Base,Prim}`
Commit ghc@74ad75e8
moved unsafeCoerce#
from GHC.Prim
to Unsafe.Coerce
, making it
no longer possible to import unsafeCoerce#
from GHC.Prim
(or
GHC.Base
, which reexported it). Sadly, a large number of Hackage
libraries obtain unsafeCoerce#
by importing these modules instead
of GHC.Exts
. As a result, all of these libraries need to be patched
to import unsafeCoerce#
from somewhere else instead.
Edited by Ryan Scott