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>
}
 
// Type aliases for classes in case of any name clashes with other modules.
var Long_ULong = ULong
var Long_ULongs = ULongs
var Long_Comparable = Comparable // in case imported indirectly</lang>
9,485

edits