Skip to content

Commit

Permalink
implement Any.elems to fix RT #74732
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Apr 28, 2010
1 parent 6cf515b commit 6a502fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Any-list.pm
Expand Up @@ -6,6 +6,10 @@ augment class Any {
pir::join__SsP($separator, self.list.eager);
}

multi method elems() {
1;
}

our multi method map(&block) {
Q:PIR {
.local pmc self, block, map
Expand Down

0 comments on commit 6a502fc

Please sign in to comment.