diff --git a/sdk/lang/Numbers.ooc b/sdk/lang/Numbers.ooc index cd626aa5..13a21141 100644 --- a/sdk/lang/Numbers.ooc +++ b/sdk/lang/Numbers.ooc @@ -124,12 +124,7 @@ Range: cover { min, max: Int - new: static func (.min, .max) -> This { - this : This - this min = min - this max = max - return this - } + init: func@ (=min, =max) reduce: func (f: Func (Int, Int) -> Int) -> Int { acc := f(min, min + 1)