Category talk:Wren-math: Difference between revisions

m
→‎Source code: Descriptions for Nums.fromStrings and Nums.toStrings methods were the wrong way around!
(→‎Source code: Int.primeCount now optionally allows for memoization.)
m (→‎Source code: Descriptions for Nums.fromStrings and Nums.toStrings methods were the wrong way around!)
Line 587:
}
 
// Converts a numericstring list to a corresponding stringnumeric list.
static fromStrings(a) { a.map { |s| Num.fromString(s) }.toList }
 
// Converts a stringnumeric list to a corresponding numericstring list.
static toStrings(a) { a.map { |n| n.toString }.toList }
}
9,479

edits