Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: Advent
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.478 kB
my class Iterable { # declared in BOOTSTRAP
# class Iterable is Any {
method elems() { self.list.elems }
method infinite() { Nil }
method item($self:) { $self }
method fmt($format = '%s', $separator = ' ') {
self.list.fmt($format, $separator)
}
method Int() { self.elems }
method Num() { self.elems.Num }
multi method Numeric(Iterable:D:) { self.elems }
multi method Str(Iterable:D:) { self.list.Str }
}
Jump to Line
Something went wrong with that request. Please try again.