Go Fish/Raku: Difference between revisions

m
square-ish symbols sliced
(→‎{{header|Perl 6}}: Update to work with modern Rakudo)
m (square-ish symbols sliced)
Line 1:
{{collection|Go Fish}}
 
{{works with|Rakudo|20172019.0203.1}}
 
<lang perl6>constant BOOKSIZE = 4;
Line 27:
 
sub maxes (&f, *@a) {
my $x = [max] map &f, @a;
return @a.grep: { f($^e) eqv $x };
}
2,392

edits