Variables
Variables are evaluated with respect to some environment. To do this, start with the last binding added to the environment and walk towards the nil.
Evaluating x in this environment yields 3:
x : 3
y : 4
x : 2
z : 3
env
Blue boxes:
bindings
nil
Previous slide
Next slide
Back to first slide
View graphic version