Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (11 sloc) 445 Bytes
augment class Iterable {
# N.B.: methods defined in src/builtins/Iterable.pir
# .item
multi method Numeric() { $.elems.Int }
multi method Int() { $.elems.Int }
multi method Num() { $.elems.Num }
multi method Str() { $.list.Str }
multi method elems() { $.list.elems }
multi method fmt($format = '%s', $separator = ' ') { $.list.fmt($format, $separator); }
multi method list() { $.iterator.list }
}
Jump to Line
Something went wrong with that request. Please try again.