Fear and loathing of the "perification" of Smalltalk
Damien Pollet
damien.pollet at gmail.com
Tue Sep 4 23:23:56 UTC 2007
On 05/09/07, Peter William Lount <peter at smalltalk.org> wrote:
> Yes, "[a. b. c] value" returns one value, c, while "[a. b. c] values"
> (or objects) returns three values in a collection. One could imagine
> #valuesInArray, #valuesInOrderedCollection, #valuesInSet, #valuesIn:
> aCollection, #valuesToStream:, etc...
I would prefer to use the curlies notation for these uses and reserve
the current block notation for lambdas.
--
Damien Pollet
type less, do more [ | ] http://typo.cdlm.fasmz.org
More information about the Squeak-dev
mailing list
|