Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add proto for pick.
  • Loading branch information
colomon committed Feb 20, 2010
1 parent 3b869ce commit abb98b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Any-list.pm
Expand Up @@ -173,5 +173,6 @@ our proto sub first($test, @values) { @values.first($test); }
our proto sub min($by, *@values) { @values.min($by); }
our proto sub max($by, *@values) { @values.max($by); }
our proto sub uniq(@values) { @values.uniq; }
our proto sub pick ($num, :$replace, *@values) { @values.pick($num, :$replace); }

# vim: ft=perl6

0 comments on commit abb98b4

Please sign in to comment.