Reading (for next class): PLP, Chapter 7 through 7.1.1, the box at the bottom of page 292 on "Dynamic typing", and 7.10.
new mkcd := lambda a {
ret := lambda x {
if (a < x) { ret := true; }
else{ a := a - x; ret := false; }
};
};
new A := mkcd(10);
new B := mkcd(12);
write A(11);
write B(11);
Draw all the frames and links that result after executing this program.
See the reading assigned last class for exactly how these should be drawn,
particularly Section 3.2.3.