Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make (1..10).fmt(...) work again; masak++ for noting it.
  • Loading branch information
jnthn committed Sep 12, 2011
1 parent ad9639a commit e3a2fd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Iterable.pm
Expand Up @@ -4,6 +4,10 @@ my class Iterable {
method elems() { self.list.elems }
method infinite() { Mu }
method item($self:) { $self }

method fmt($format = '%s', $separator = ' ') {
self.list.fmt($format, $separator)
}

method Int() { self.elems }
method Num() { self.elems.Num }
Expand Down

0 comments on commit e3a2fd7

Please sign in to comment.