You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an expression including '+' or '-' is given, JScheme is expected to treat it as an undefined variable (assumed that is has not been defined before). This behavior conforms to the Racket specification. So what we would expect JScheme to do is something like this:
However, what JScheme currently does is interpreting expressions containing mathematical prefixes as numbers, thus returning unexpected results like this:
>> 1-2
=> 92
>> 1+2
=> 92
The text was updated successfully, but these errors were encountered:
When an expression including '+' or '-' is given, JScheme is expected to treat it as an undefined variable (assumed that is has not been defined before). This behavior conforms to the Racket specification. So what we would expect JScheme to do is something like this:
However, what JScheme currently does is interpreting expressions containing mathematical prefixes as numbers, thus returning unexpected results like this:
The text was updated successfully, but these errors were encountered: