On Sun May 10 13:20:24 2015, david.warring wrote:
> The .perl method on Hashes has been reworked in the latest rakudo.
> Looks good! (Looks Good!!).
> 
> % perl6-m --version
> This is perl6 version 2015.04-204-ga040b1a built on MoarVM version
> 2015.04-62-g052aca0
> % perl6-m -e'say { :a(10), :b(20), :c(30) }.perl'
> {:a(10), :b(20), :c(30)}
>  %
> % perl6-m -e'say { :a(10), :b(20), :c(30) }.perl'
> {:a(10), :b(20), :c(30)}
> 
> Hashes currently appear to be ordered.
> 
> On Mon Mar 23 11:09:33 2015, david.warring wrote:
> > On Mon Mar 23 06:48:38 2015, pmichaud wrote:
> > > On Sun Mar 22 13:04:21 2015, david.warring wrote:
> > > > Could the MoarVM .perl method also order hash entries?
> > >
> > > Requiring .perl to order hash entries ought to be a
> > > language/specification change, rather than something that
> > > individual
> > > compilers do on their own.  Otherwise programmers may falsely rely
> > > on
> > > a compiler-specific behavior.
> > >
> > > To have this considered as a language feature, add an issue to
> > > GitHub:
> > > https://github.com/perl6/specs/issues
> > >
> > > Pm
> >
> > Have opened issue https://github.com/perl6/specs/issues/88
> > - David

.perl on hashes is now sorted - all the tests in S32-hash/perl.t implicitly 
cover this condition.

Resolving ticket.
-- 
Will "Coke" Coleda

Reply via email to