Personal tools

Talk:Physical equality

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 2: Line 2:
   
 
--[[User:Lemmih|Lemmih]] 15:00, 29 July 2006 (UTC)
 
--[[User:Lemmih|Lemmih]] 15:00, 29 July 2006 (UTC)
  +
  +
  +
No need to talk about OCaml's nan:
  +
Prelude> 0/0
  +
NaN
  +
Prelude> 0/0 == 0/0
  +
False

Revision as of 16:10, 29 July 2006

GHC already has physical equality testing via GHC.Exts.reallyUnsafePtrEquality#

--Lemmih 15:00, 29 July 2006 (UTC)


No need to talk about OCaml's nan: Prelude> 0/0 NaN Prelude> 0/0 == 0/0 False