From: Christophe TROESTLER <Christophe.Troestler+ocaml@umh.ac.be>
To: peng.zang@gmail.com
Cc: caml-list@yquem.inria.fr, rajb@rice.edu
Subject: Re: [Caml-list] equality operators in OCaml
Date: Fri, 25 Jul 2008 12:34:54 +0200 (CEST) [thread overview]
Message-ID: <20080725.123454.62538826676999671.Christophe.Troestler+ocaml@umh.ac.be> (raw)
In-Reply-To: <200807242140.40245.peng.zang@gmail.com>
On Thu, 24 Jul 2008 21:40:36 -0400, Peng Zang wrote:
>
> On Thursday 24 July 2008 06:32:36 pm Jon Harrop wrote:
> > There are some complications here. Firstly, NaN has multiple
> > representations that may or may not be physically equal but is always
> > structurally unequal to itself.
>
> 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 things I did is redefined (=) to fix this.
Humm... http://citeseer.ist.psu.edu/goldberg91what.html is certainly
a good read...
My 0.02€,
C.
next prev parent reply other threads:[~2008-07-25 10:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-24 19:27 Raj Bandyopadhyay
2008-07-24 22:15 ` [Caml-list] " Vincent Hanquez
2008-07-24 22:32 ` Jon Harrop
2008-07-25 1:40 ` Peng Zang
2008-07-25 10:34 ` Christophe TROESTLER [this message]
2008-07-25 12:04 ` Peng Zang
2008-07-25 20:14 ` Matthew William Cox
2008-07-25 22:27 ` Peng Zang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080725.123454.62538826676999671.Christophe.Troestler+ocaml@umh.ac.be \
--to=christophe.troestler+ocaml@umh.ac.be \
--cc=caml-list@yquem.inria.fr \
--cc=peng.zang@gmail.com \
--cc=rajb@rice.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox