[ prog / sol / mona ]

sol


Ctrl-v Your Thoughts.

285 2022-02-11 14:15

>>284
I think it's just because it's the natural way to distinguish integers from floating point numbers, and the definition of division on integers. This is typical of many linguistically like SML and elisp. Scheme's solution is far nicer though I agree, and maybe even the JS approach of having every number be a float would be reasonable in a graphing application because exactness and storage constraints aren't a big deal.

301


VIP:

do not edit these