Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
7
Task/Function-frequency/Perl-6/function-frequency.pl6
Normal file
7
Task/Function-frequency/Perl-6/function-frequency.pl6
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
my $text = qqx[perl6 --target=ast @*ARGS[]];
|
||||
my %fun;
|
||||
for $text.lines {
|
||||
%fun{$0}++ if / '(call &' (.*?) ')' /
|
||||
}
|
||||
|
||||
for %fun.invert.sort.reverse[^10] { .value.say }
|
||||
Loading…
Add table
Add a link
Reference in a new issue