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
Right now, if we try to enter a multi-line expression on the REPL, it'll throw an error and exit. Instead, we should catch those errors (where appropriate) and let the user keep typing on the next line.
We could also try to determine if an expression is balanced and use that information instead. What do other lisps do?
The text was updated successfully, but these errors were encountered:
Haskell uses :{ and :} delimiters to indicate that an expression spans multiple lines. That's a cute idea, but it's only necessary because Haskell can't rely on parenthesized expressions.
Right now, if we try to enter a multi-line expression on the REPL, it'll throw an error and exit. Instead, we should catch those errors (where appropriate) and let the user keep typing on the next line.
We could also try to determine if an expression is balanced and use that information instead. What do other lisps do?
The text was updated successfully, but these errors were encountered: