Skip to content

Commit

Permalink
Add a working version of Iterator.Seq .
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Feb 16, 2010
1 parent 9d1d903 commit 2bb2172
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Iterator.pm
Expand Up @@ -7,6 +7,10 @@ augment class Iterator {
$elems;
}

multi method Seq() {
Seq.new!STORE(self);
}

multi method Str() {
pir::join(' ', self.eager);
}
Expand Down

0 comments on commit 2bb2172

Please sign in to comment.