> On 23 Oct 2015, at 07:12, Peter Uhn��k <i.uhnak@gmail.com> wrote:
>
> Hi,
>
> is this intentional behavior?
>
> #(a b c) collect: [ :each | each -> each first asciiValue ] as: Dictionary.
> "a Dictionary(1->#a->97 2->#b->98 3->#c->99 )"
>
> (#(a b c) collect: [ :each | each -> each first asciiValue ]) asDictionary.
> "a Dictionary(#a->97 #b->98 #c->99 )"
>
> I would expect that collect:as: for Dictionaries would act in the same way as #asDictionary.
>
Yes, I would expect the same��� asDictionary is fairly recent, though. Before that, any kind
of conversion would have been fine.
�� �� �� �� Marcus