-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repl #17
Comments
Should I program a top-level let expression for the Repl? It would be very useful in testing (and using) the language, but might conflict with the let term parsers. If so, I could change the reserved "let" to be "letu" and "lett" respectively. |
|
Gotcha, I know how I'll do it. |
I've implemented the ability for the Repl to take in a top-level let variable and print it from the internal queue. However, I need to handle the error if that variable isn't in the queue. My intuition is to return with an Either String Term and case split on the output of the function, but I'm having conceptual difficulties of using Either within a REPLExpr or REPLStateIO(). I'm familiar with Either and simple monads, but I don't fully understand the intricacies of working in the environment. Can we go over some more advanced monad topics on Tuesday? |
Yes, we can go over this on Tuesday. Unfortunately, I do not have time to meet
|
No problem, sounds great. Thanks! |
Implement repl. See grady implementation for inspiration.
The text was updated successfully, but these errors were encountered: