caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: tim@fungible.com (Tim Freeman)
To: attila@zurich.ai.mit.edu
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] native-code and byte-code compiler differences
Date: Sun, 31 Mar 2002 12:32:47 -0700	[thread overview]
Message-ID: <20020331204018.D5FD38D17@lobus.fungible.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0203291538590.19082-100000@neuchatel.ai.mit.edu> (message from Attila Kondacs on Fri, 29 Mar 2002 16:00:41 -0500 (EST))


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


  parent reply	other threads:[~2002-03-31 20:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-29 21:00 Attila Kondacs
2002-03-31 18:59 ` Michel Quercia
2002-03-31 19:09 ` Sylvain LE GALL
2002-03-31 19:32 ` Tim Freeman [this message]
2002-04-02 17:14 ` Andrej Bauer

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=20020331204018.D5FD38D17@lobus.fungible.com \
    --to=tim@fungible.com \
    --cc=attila@zurich.ai.mit.edu \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).