On Wed Aug 04 18:16:38 2010, cognominal wrote:
> > ([ [ 5], [3] ].sort: *[0] ).perl
> No candidates found to invoke for method 'sort' on object of type
> 'Array'; available candidates have signatures:
> :(Mu : &by = { ... };; *%_)
> 
> > ([ { :pos<5>}, { :pos<4> } ].sort: *.<pos> ).perl
> postcircumfix:<> not defined for type Whatever()
> 
> 

Fixed:

19:59 < [Coke]> rakudo: ([ [ 5], [3] ].sort: *[0] ).perl.say
19:59 <+p6eval> rakudo 38907e: OUTPUT«([3], [5])␤»
19:59 < [Coke]> rakudo: ([ { :pos<5>}, { :pos<4> } ].sort: *.<pos> ).perl.say
19:59 <+p6eval> rakudo 38907e: OUTPUT«({"pos" => "4"}, {"pos" => "5"})␤»

Closable with tests.

-- 
Will "Coke" Coleda

Reply via email to