On 01/20/2014 04:58 AM, Mariano Martinez Peck wrote:
> Hi guys,
>
> Some weeks ago I noticed #on:do: behaved different than Pharo.
> Basically, in Pharo, the argument of the do: is not mandatory while in
> GemStone it is. So Pharo has a kind of #value: behavior while GemStone
> has #cull:.
>
> Does ANSI Smalltalk say something about it? Do you have plans of making
> it like Pharo behavior?
> Maybe there are strong reason for let it as is?
Hi Mariano,
ANSI does say that the argument to the do: is a monadic block. I don't
think it would actually violate ANSI, though, for a Smalltalk
implementation to also allow a niladic block there.
Regards,
-Martin
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass