|
It will be OK to use the built-in Scheme higher-order procedures (such as On the other hand, you should solve problems 1-3 and 5 purely functionally, without using modifications to the state. In problem 4, you should implement functional parts of Scheme using functional programming methods, and resort to state modifications only if I ask you to implement a procedure or special form that modifies state. I'm mentioning this because I realized that there is a very tempting way to define two of the procedures in problem 1 with state modification. But I'd like you to find the purely functional definitions, which are very simple and elegant. Mike O'D. |
to: