Re: Rewrite using map? Trasformation array into hash of hash

2014-06-14 Thread timo
Dear Kamil, On 06/13/2014 10:24 PM, Kamil Kułaga wrote: my %h = categorize({map {[.a , .b]}, $_},@array); I think the problem is that categorize will call your inner code block for every item in the @array. Then you map your {[.a, .b]} over that item, so you end up with a single-item list as a

Re: Rewrite using map? Trasformation array into hash of hash

2014-06-14 Thread Kamil Kułaga
Dear Timo. So .categorize and .classify wil always end with list on leaves of produced tree? Ok I can live with that :) On Sat, Jun 14, 2014 at 12:30 PM, t...@wakelift.de wrote: Dear Kamil, On 06/13/2014 10:24 PM, Kamil Kułaga wrote: my %h = categorize({map {[.a , .b]}, $_},@array); I

Re: Jargon

2014-06-14 Thread Parrot Raiser
On 6/13/14, Will Coleda w...@coleda.com wrote: See: https://github.com/perl6/specs/blob/master/S99-glossary.pod which is nicely formatted here: http://perlcabal.org/syn/S99.html Great, thanks. Looks as though I was late, not premature.

[perl6/specs] 3dabef: Improve circumfix entry a bit.

2014-06-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 3dabef92eed3a2d453ba2d9b3f034ae10e90c245 https://github.com/perl6/specs/commit/3dabef92eed3a2d453ba2d9b3f034ae10e90c245 Author: pmichaud pmich...@pobox.com Date: 2014-06-14 (Sat, 14 Jun 2014) Changed

[perl6/specs] 2f45ae: More glossary updates (Synopsis, TMTOWTDI)

2014-06-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 2f45ae578facc41f77559e9caf9e762c6999dcfe https://github.com/perl6/specs/commit/2f45ae578facc41f77559e9caf9e762c6999dcfe Author: pmichaud pmich...@pobox.com Date: 2014-06-14 (Sat, 14 Jun 2014) Changed

[perl6/specs] 2a277a: spec zip-latest

2014-06-14 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 2a277a7b5199eaca0b1ceeb5fb5c35b474b3cf39 https://github.com/perl6/specs/commit/2a277a7b5199eaca0b1ceeb5fb5c35b474b3cf39 Author: Timo Paulssen timona...@perpetuum-immobile.de Date: 2014-06-14 (Sat, 14 Jun

Code execution during compilation

2014-06-14 Thread Kamil Kułaga
Hi, I got amazed little bit when this code: class A { method wow{say I'm alive} } role Xx{ my $th = A.wow; } class B does Xx { } Started to live during compilation (also tried with ufo): $ perl6 -o o.pir funnyrole.pl I'm alive Is this expected

Re: Code execution during compilation

2014-06-14 Thread Kamil Kułaga
Of course ment perl6 --target=pir --output=o.pir funnyrole.pl but with same effect On Sun, Jun 15, 2014 at 2:31 AM, Kamil Kułaga teodoz...@gmail.com wrote: Hi, I got amazed little bit when this code: class A { method wow{say I'm alive} } role Xx{ my $th =