April 21, 2015
5:49 p.m.
Aha! Good to know. Thanks :) On Tue, Apr 21, 2015 at 1:37 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 21 Apr 2015, at 19:06, Peter Uhnák <i.uhnak@gmail.com> wrote:
On Mon, Apr 20, 2015 at 7:26 PM, Dmitri Zagidulin <dmitri@zagidulin.net> wrote: Similar question - are there any roadmap plans to add Dictionary literals to Pharo? You can already do things like { 'key' -> 'value'. 'key2' -> 'value2' } asDictionary
YES !
You could also write:
{ #foo->100. #bar->200 } asDictionary. { #foo->100. #bar->200 } asOrderedDictionary. { #foo->100. #bar->200 } asSmallDictionary.
And everyone will know exactly what you mean, imagine that ;-)