Re: [Caml-list] equality operators in OCaml

2008-07-25 Thread Matthew William Cox
On Thu, Jul 24, 2008 at 09:40:36PM -0400, Peng Zang wrote: Yeah, that always seemed broken to me. If two things are physically equal (they occupy the same memory space) it doesn't make sense for them to be structurally unequal (contain different content). Personally, one of the first

Re: [Caml-list] equality operators in OCaml

2008-07-25 Thread Peng Zang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 25 July 2008 04:14:22 pm Matthew William Cox wrote: On Thu, Jul 24, 2008 at 09:40:36PM -0400, Peng Zang wrote: Yeah, that always seemed broken to me. If two things are physically equal (they occupy the same memory space) it doesn't

[Caml-list] equality operators in OCaml

2008-07-24 Thread Raj Bandyopadhyay
Hi OCaml folk I apologize if I've been asking too many questions on this list recently, but I'm working on a heavy OCaml application and need help sometimes. I am having a disagreement with a colleague about how the equality operators in OCaml work and am trying to resolve it conclusively.

Re: [Caml-list] equality operators in OCaml

2008-07-24 Thread Vincent Hanquez
On Thu, Jul 24, 2008 at 02:27:51PM -0500, Raj Bandyopadhyay wrote: Hi OCaml folk I apologize if I've been asking too many questions on this list recently, but I'm working on a heavy OCaml application and need help sometimes. I am having a disagreement with a colleague about how the

Re: [Caml-list] equality operators in OCaml

2008-07-24 Thread Jon Harrop
From: Raj Bandyopadhyay [EMAIL PROTECTED] Hi OCaml folk I apologize if I've been asking too many questions on this list recently, but I'm working on a heavy OCaml application and need help sometimes. I am having a disagreement with a colleague about how the equality operators in OCaml work