typhon
typhon copied to clipboard
surprising precedence: base ** exponent :guard
▲> def Int32 :DeepFrozen := -(2 ** 31)..!2 ** 31
Result: <[-2147483648, 2147483648) Int region>
▲> 2**50 :Int32
Result: 1125899906842624
WAT?!
oh...
▲> m`base ** exponent :guard`.expand()
Result: m`base.pow(guard.coerce(exponent, throw))`