Category talk:Wren-long: Difference between revisions
→Source code: Removed type aliases which are no longer needed.
(→Source code: Added factorization and five other utility methods.) |
(→Source code: Removed type aliases which are no longer needed.) |
||
Line 32:
<lang ecmascript>/* Module "long.wren" */
import "./trait" for Comparable
/*
Line 888:
static max(a) { a.reduce { |acc, x| (x > acc) ? x : acc } }
static min(a) { a.reduce { |acc, x| (x < acc) ? x : acc } }
}</lang>
|