help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: Dictionary>>#addAll: fails


From: Jānis Rūcis
Subject: [Help-smalltalk] Re: Dictionary>>#addAll: fails
Date: Fri, 30 Mar 2007 05:10:26 +0300
User-agent: Icedove 1.5.0.10 (X11/20070307)

Stephen Compall wrote:
> On Mon, 2007-03-26 at 09:21 +0200, Paolo Bonzini wrote:
>>> I would rather leave the syntax alone and just add the protocol:
>> What about adding #from: ?  I want it to be terse and still clear if
>> possible.
> 
> smalltalk--backstage--2.2--patch-14, diff attached.
> 

I think the "this message expects a literal" thing is pretty weird.
Since you're limiting yourself to Array literals anyway, why not add
#asDictionary, or even #asWhatever, to Array?

Jānis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]