Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Large projects in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jdh30@c...>
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