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 wrote:
> Hi,
>
> I got amazed little bit when this code:
> class A {
> method wow{say "I'm alive"}
> }
>
> role Xx{
> my $th = A.wow;
>
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 expecte
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 2a277a7b5199eaca0b1ceeb5fb5c35b474b3cf39
https://github.com/perl6/specs/commit/2a277a7b5199eaca0b1ceeb5fb5c35b474b3cf39
Author: Timo Paulssen
Date: 2014-06-14 (Sat, 14 Jun 2014)
Changed paths:
M S17-
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 2f45ae578facc41f77559e9caf9e762c6999dcfe
https://github.com/perl6/specs/commit/2f45ae578facc41f77559e9caf9e762c6999dcfe
Author: pmichaud
Date: 2014-06-14 (Sat, 14 Jun 2014)
Changed paths:
M S99-gloss
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 3dabef92eed3a2d453ba2d9b3f034ae10e90c245
https://github.com/perl6/specs/commit/3dabef92eed3a2d453ba2d9b3f034ae10e90c245
Author: pmichaud
Date: 2014-06-14 (Sat, 14 Jun 2014)
Changed paths:
M S99-gloss
On 6/13/14, Will Coleda 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.
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, wrote:
> Dear Kamil,
>
>
> On 06/13/2014 10:24 PM, Kamil Kułaga wrote:
>> my %h = categorize({map {[.a , .b]}, $_},@array);
>
> I think the p
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