On Feb 9, 2008 12:34 PM, Bertram Felgenhauer <[EMAIL PROTECTED]> 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? Cheers, -- Felipe. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe