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
I am following the course videos of 2020 but doing the assignments in the order that's presented in the book. The book introduces WhileLoop before Tuple and Function, which I think is nice since I can use Begin for the translation of Tuple. But when I come to Functions, the above examples upsets me. How can I compile the (set! f g)? Or should I just modify the type checker to forbid assignments to top-level defined functions?
The text was updated successfully, but these errors were encountered:
I am having trouble compiling programs like the below:
I am following the course videos of 2020 but doing the assignments in the order that's presented in the book. The book introduces WhileLoop before Tuple and Function, which I think is nice since I can use Begin for the translation of Tuple. But when I come to Functions, the above examples upsets me. How can I compile the
(set! f g)
? Or should I just modify the type checker to forbid assignments to top-level defined functions?The text was updated successfully, but these errors were encountered: