Skip to content

Commit

Permalink
Remove incorrect Iterator.Seq, improve Iterator.Str .
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Feb 16, 2010
1 parent 9f1eb02 commit 5594188
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/core/Iterator.pm
Expand Up @@ -7,14 +7,8 @@ augment class Iterator {
$elems;
}

multi method Seq() {
my $seq = Seq.new;
$seq = self;
$seq;
}

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

# TimToady suggests this should be on Cool,
Expand All @@ -32,4 +26,4 @@ augment class Iterator {
self.get.say;
}
}
}
}

0 comments on commit 5594188

Please sign in to comment.