[Glass] GemStone's #on:do: could be cull: instead of value: ?

Martin McClure martin.mcclure at gemtalksystems.com
Tue Jan 21 13:36:32 PST 2014

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.



More information about the Glass mailing list