April 21, 2015
5:37 p.m.
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 ;-)