Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] native-code and byte-code compiler differences
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: tim@f...
Subject: Re: [Caml-list] native-code and byte-code compiler differences

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
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: