University of Washington • CSE583 • D. Notkin
©
2000
14
Two more special forms
l
Local variable bindings
–
(define x 1) (define y 2) (define z 3)
(let ((x 5)
(y (+ 3 4))
(z (+ x y z)))
(+ x y z)
18
l
Sequentially evaluated local variable bindings
–
Replace
let
by
let*
–
The same expression evaluates to
27