> 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 ;-)

Reply via email to