Have you tried doing this? If so, `coerce` is the least of our problems:
`unsafeCoerce#` is much worse! When I just tried, GHC told me that I couldn't
import GHC.Prim into a module with -XSafe enabled.
So, this seems to be a documentation bug (the Haddock description of GHC.Prim
indeed says
Hi,
the GHC 7.8.2 installation on my machine refuses to import GHC.Prim if
Safe is enabled. The locally generated documentation still claims that
GHC.Prim is Safe-Inferred, though. So this seems to be indeed a
documentation bug.
All the best,
Wolfgang
Am Sonntag, den 17.08.2014, 11:26 -0400