3 ms·
It’s best not to get hung up on formality. Lisp (and expecially arc) are powerful due to what they can do, not due to what they define. Racket might disagree wi
by sillysaurusx 7y ago
It’s best not to get hung up on formality. Lisp (and expecially arc) are powerful due to what they can do, not due to what they define. Racket might disagree with that though.
From a prototyping perspective it would be a waste of time and overly constraining to define what numbers are or what you can do with them. That’s best left to the implementation.
I can hear everyone groaning in unison with that, but trust me. Nowadays every implementation will choose some sensible default for numbers. If you transpile bel to JS, you get JS’s defaults. Ditto for Lua. But crucially, algorithms written for one generally work for the other.
- krapp 7y agoBut Bel obviously has a numeric type if arithmetic works...
- deleted 7y ago[deleted]
- sillysaurusx 7y agoSure, but all languages do. In any case, I was mistaken. Numbers are defined.