[ANSI-Smalltalk] re: array creation syntax
Paolo Bonzini
bonzini at gnu.org
Mon Apr 21 19:55:17 BST 2008
Michael Klein wrote:
>> Dictionary from: { a -> b. c -> d }
>>
>> Set from: { a. b. c. d }
>
> Those are ordinary methods.. only the Array constructor is syntax,
> or are you proposing open coding the #from: message?
No, but they "require" the Array constructor syntax as a prerequisite.
I seem to recall that some version of Squeak open coded "{a. b. c. d}
as: xyz".
Paolo
More information about the ANSI-Smalltalk
mailing list