Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: native-str-ops
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.529 kb
my class Iterable {
# Has parent Cool declared in BOOTSTRAP
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 }
multi method Numeric(Iterable:D:) { self.elems }
multi method Str(Iterable:D:) { self.list.Str }
method chrs(Iterable:D:) {
self>>.chr.join;
}
}
Jump to Line
Something went wrong with that request. Please try again.