Category talk:Wren-seq: Difference between revisions

(→‎Source code: Some fairly minor adjustments to the Stack class.)
(→‎Source code: Bug fix.)
Line 244:
isList_(a)
var c = a.count
if (!(size is Num && size.isInteger && size > 0)) {
Fiber.abort("Size must be a positive integer.")
}
if (size >= c) return [[a]]
var res = []
var n = (c/size).floor
9,479

edits