From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA27452; Fri, 21 May 2004 00:26:19 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA27317 for ; Fri, 21 May 2004 00:26:18 +0200 (MET DST) Received: from caged.spacebird.net (caged.spacebird.net [66.92.161.180]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4KMQHEV001620 for ; Fri, 21 May 2004 00:26:17 +0200 Received: from [10.92.1.1] (helo=word) by caged.spacebird.net with smtp (Exim 3.36 #1 (Debian)) id 1BQwhn-0001B5-00; Thu, 20 May 2004 19:12:03 -0400 Message-ID: <01aa01c43eb9$36073390$10015c0a@word> From: "David J. Trombley" To: "Jon Harrop" , References: <20040520115602.56566.qmail@web41905.mail.yahoo.com> <200405202142.56044.jdh30@cam.ac.uk> Subject: Re: [Caml-list] A problem with nan. Date: Thu, 20 May 2004 18:24:15 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Miltered: at nez-perce with ID 40AD3089.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 caml-list:01 2004:99 2004:99 equivalently:01 recursively:01 bug:01 faq:01 faq:01 beginner's:01 beginners:01 bin:01 bool:01 bool:01 caml-bugs:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I also noticed ref 1.0 = ref nan evaluates true. -dj ----- Original Message ----- From: "Jon Harrop" To: Sent: Thursday, May 20, 2004 4:42 PM Subject: Re: [Caml-list] A problem with nan. > On Thursday 20 May 2004 12:56, sejourne kevin wrote: > > ... > > Can someone explain it? > > Are you asking, equivalently, why this happens: > > # 2.=nan;; > - : bool = false > # [2.]=[nan];; > - : bool = true > > when "=" compares structures recursively so you'd expect it to give the same > answer in both cases? > > Cheers, > Jon. > > ------------------- > To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr > Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners