Category talk:Wren-seq: Difference between revisions
Content added Content deleted
(→Source code: Added 'takeWhile' and 'skipWhile' methods to Seq class plus other small changes.) |
(→Source code: Bug fix) |
||
Line 166: | Line 166: | ||
static refill(a, filler, copier) { |
static refill(a, filler, copier) { |
||
Lst.isList_(a) |
Lst.isList_(a) |
||
for (c in 0...a.count) a[c] = !copier ? filler : copier.call( |
for (c in 0...a.count) a[c] = !copier ? filler : copier.call(filler) |
||
return a |
return a |
||
} |
} |