proposed change to FD.watch.{min,max,size}
Raphael Collet
raph at info.ucl.ac.be
Mon Jun 13 09:29:39 CEST 2005
Denys Duchier wrote:
> In order to close bug 1354, I am proposing a change to the implementation of
> FD.watch.{min,max,size}. Although they are documented as functions returning a
> boolean value, that's not the way they are implemented. Instead, if at any time
> the 3rd argument (the boolean _return_ value) becomes bound to a boolean (true
> or false, it doesn't matter), then the function call reduces successfully.
IMHO this behavior is useless, and is even a source of programming errors.
> I am proposing to change the implementation so that it agress with the
> documentation: namely to make them true functions. It also simplifies the
> implementation.
I see no reason for not doing it.
Cheers,
raph
More information about the mozart-hackers
mailing list