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 WAA00059; Sun, 31 Mar 2002 22:43:33 +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 WAA01287 for ; Sun, 31 Mar 2002 22:43:32 +0200 (MET DST) Received: from lobus.fungible.com (adsl-64-161-114-6.dsl.snfc21.pacbell.net [64.161.114.6]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g2VKhVD20253 for ; Sun, 31 Mar 2002 22:43:31 +0200 (MET DST) Received: by lobus.fungible.com (Postfix, from userid 1000) id D5FD38D17; Sun, 31 Mar 2002 12:40:18 -0800 (PST) Date: Sun, 31 Mar 2002 12:32:47 -0700 From-Tims-Fingers: true To: attila@zurich.ai.mit.edu Cc: caml-list@inria.fr In-reply-to: (message from Attila Kondacs on Fri, 29 Mar 2002 16:00:41 -0500 (EST)) Subject: Re: [Caml-list] native-code and byte-code compiler differences References: Message-Id: <20020331204018.D5FD38D17@lobus.fungible.com> From: tim@fungible.com (Tim Freeman) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I didn't completely anaylze the code, but I see this: mouse_action != (fun () -> ()) which has undefined behavior. Equality among function objects is allowed to return false at any time, although it shouldn't return true unless they really are equal. I also see while !st = true do... which could be improved to while !st do... -- Tim Freeman tim@fungible.com ------------------- 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