Aha! Good to know. Thanks :) On Tue, Apr 21, 2015 at 1:37 PM, Sven Van Caekenberghe <[email protected]> wrote:
> > > On 21 Apr 2015, at 19:06, Peter Uhnák <[email protected]> wrote: > > > > On Mon, Apr 20, 2015 at 7:26 PM, Dmitri Zagidulin <[email protected]> > 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 ;-) >
