Because of President's Day, there are only two lectures this week. We are now studying Chapter 3 of EOPL . Wednesday's lecture covers Syntactic Abstraction (including let, letrec, and, or, cond, case, define-record, and variant-case). On Friday, we will discuss define-record, variant-case, parse trees, and data abstraction.
The midterm was returned on Wednesday: as a class, we need to work a bit harder as the average score was 58%. Midterm solutions are posted here.
Beginning with Section 3.4 (p. 79), you will need to load definitions for the special forms define-record and variant-case. (These are not standard features of Scheme, but they will prove to be very useful for us. Moreover, they demonstrate how easy it is to create new special forms.) During the next week, attempt the following: