I spoke with @CorbynS and @ags799 and we agreed it would be best to just support integers and not doubles for the entire language.
I have implemented the Bindings class to allow the return type of num to be an Integer. It works fine with Strings as well because the HashMap maps Symbols to Any.
I spoke with @CorbynS and @ags799 and we agreed it would be best to just support integers and not doubles for the entire language.
I have implemented the
Bindings
class to allow the return type ofnum
to be an Integer. It works fine with Strings as well because theHashMap
mapsSymbol
s toAny
.@irvinshen what do you think?