Skip to content

Commit

Permalink
Protos for sub versions of min and max.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Feb 15, 2010
1 parent 6d40788 commit 5383a13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Any-list.pm
Expand Up @@ -158,5 +158,7 @@ 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); }
our proto sub min($by, *@values) { @values.min($by); }
our proto sub max($by, *@values) { @values.max($by); }

# vim: ft=perl6

0 comments on commit 5383a13

Please sign in to comment.