Category talk:Wren-big: Difference between revisions

→‎Source code: Removed type aliases which are no longer needed.
m (→‎Source code: Consistency change.)
(→‎Source code: Removed type aliases which are no longer needed.)
Line 40:
<lang ecmascript>/* Module "big.wren" */
 
import "./trait" for Comparable
import "random" for Random
 
Line 1,798:
static min(a) { a.reduce { |acc, x| (x < acc) ? x : acc } }
}
 
// Type aliases for classes in case of any name clashes with other modules.
var Big_BigInt = BigInt
var Big_BigInts = BigInts
var Big_BigRat = BigRat
var Big_BigRats = BigRats
var Big_Comparable = Comparable // in case imported indirectly
 
// Initialize static fields.
9,482

edits