3 ms·
[1]> (+ (expt 2 32) (expt 2 32)) 8589934592 Numeric overflow is a choice. Even a 16-bit program that might have had a 32-bit ALU could simply decide to suppo
by erik_seaberg 6y ago
[1]> (+ (expt 2 32) (expt 2 32))
8589934592
Numeric overflow is a choice. Even a 16-bit program that might have had a 32-bit ALU could simply decide to support larger numbers rather than producing something meaningless and dangerous.
def retry(block: =>T): T = ???
Half of what I missed about macros is being able to control (re)evaluation of an expression, and call by name handles that really well.