Playlist | schedule page slides as PDF |
Variable 1 — assignment (2:29)
PLAI§8.2. Considering mutable variables and assignment again, instead of and in contrast to mutable boxes.
Variable 2 — store (2:49)
Examples of interpreting with mutable variables and an explicit store.
Variable 3 — interp (2:39)
Implementing interp for Moe with mutable variables. See variable.rhm.
Variable 4 — variables as boxes (6:01)
On the expressiveness of variables and boxes — they’re the same — and encoding boxes with variables.
Variable 5 — call by reference (3:34)
On implementing call-by-reference, which is generally a bad idea.