Re: [polyml] PolyML.pointerEq

2014-01-30 Thread David Matthews
Brian, The intention of PolyML.pointerEq is that if pointerEq(x, y) is true then x = y will be true, assuming the type of x and y admits equality. It is really intended for use where a user function wants to test for equality in some general sense and knowing that actually the values are the s

Re: [polyml] PolyML.pointerEq

2014-01-30 Thread Makarius
On Thu, 30 Jan 2014, David Matthews wrote: The intention of PolyML.pointerEq is that if pointerEq(x, y) is true then x = y will be true, assuming the type of x and y admits equality. It is really intended for use where a user function wants to test for equality in some general sense and knowin

Re: [polyml] PolyML.pointerEq

2014-01-30 Thread David Matthews
On 30/01/2014 11:40, Makarius wrote: The puristic approach to structutal equality in SML turns out as a benefit these days, when the system runs with loosened brakes on multicore hardware. Neither the JVM nor OCaml could afford that (but I think Haskell / GHC does). The measurements I did sugg