75 points · by dmit · 11y ago · 7 comments
If BBV can determine type operands are tagged integers then arithmetic only have to worry about overflow and not the type checking.
I don't know if anyone has tried to do anything similar.
Among the languages who integer types default to unbounded, I can think of Python, Erlang, and Scheme (Others? Haskell has both Int and Integer), but it doesn't appear that BBV has been tried outside of Higgs.
I guess I could get close by changing something like https://github.com/peterolson/BigInteger.js to use native JavaScript numbers for small integers. One of these days.
What kind of information do you think it would be useful to propagate about effects?