> On 2 May 2019, at 18:18, K K Subbu <kksubbu...@gmail.com> wrote:
> 
> On 02/05/19 9:14 PM, Konrad Hinsen wrote:
>>    | words lengths |
>>    words := #('abc' 'defg').
>>    lengths := Dictionary new.
>>    words do:
>>       [ :each | lengths at: each put: each size ].
> 
> Dictionary withKeys: words andValues: (words collect: #size)
> 
> HTH .. Subbu
> 

Never saw that one, cool.

But it is #newFromKeys:andValues: as far as I can see


Reply via email to