[Haskell-cafe] I love purity, but it's killing me.
felipe.lessa at gmail.com
Sat Feb 9 09:46:58 EST 2008
On Feb 9, 2008 12:34 PM, Bertram Felgenhauer
<bertram.felgenhauer at googlemail.com> wrote:
> ghc actually provides a primop for this:
> reallyUnsafePtrEquality# :: a -> a -> Int#
> Use at your own risk.
Why is it more than unsafe? 'unsafePerformIO' seems to me a lot
unsafer than 'reallyUnsafePtrEquality#'.
Also, is anybody using 'reallyUnsafePtrEquality#' on a working project?
More information about the Haskell-Cafe