Skip to content

Commit

Permalink
Add protos for first and grep.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Dec 24, 2009
1 parent 0977b1e commit 78e4226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Any-list.pm
Expand Up @@ -52,6 +52,8 @@ our proto sub join (Str $separator = '', *@values) { @values.join($separator); }
our proto sub reverse(@values) { @values.reverse; }
our multi sub reverse(*@v) { @v.reverse; }
our proto sub end(@array) { @array.end; }
our proto sub grep($test, @values) { @values.grep($test); }
our proto sub first($test, @values) { @values.first($test); }
# vim: ft=perl6

0 comments on commit 78e4226

Please sign in to comment.