Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
whitespaces and modeline in Any-list.pm
  • Loading branch information
moritz committed Mar 7, 2009
1 parent 7559fc9 commit ed4cd14
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/setting/Any-list.pm
@@ -1,11 +1,13 @@
class Any is also {
our List multi method grep($values: Code $test) {
gather {
take $_ if $test($_) for $values.list;
}
gather {
take $_ if $test($_) for $values.list;
}
}
}

our List multi grep(Code $test, *@values) {
@values.grep($test)
}

# vim: ft=perl6

0 comments on commit ed4cd14

Please sign in to comment.