CPSC 425 Assignment 13
Implicit References
Due Before Class on Monday, March 15th
Read sections 4.3 of Essentials of Programming Languages and complete the following exercise:
- 4.20 (pg. 121)
- example usage : (run "let x = 1 in -(0, x)") = #(struct:num-val -1)
- example usage : (run "letmutable x = 1 in -(0, x)") = #(struct:num-val -1)
- example usage : (run "let x = 1 in begin set x = 2; -(0, x) end") = error
- example usage : (run "letmutable x = 1 in begin set x = 2; -(0, x) end") = #(struct:num-val -2)
Submission: Submit through the course blackboard site.