Variable Capture
Using the OR* macro from a few slides back…
(setq x nil)
(let ((temp 7))
(or* x (+ temp 1)))
This code attempts to add NIL to 1
Because the macroexpansion of OR* causes TEMP to get rebound to NIL
Previous slide
Next slide
Back to first slide
View graphic version