CL-USER> (defun foo(x)
(format t "Parameter:~a~%" x)
(let ((x 2))
(format t "Out LET: ~a~%" x)
(let ((x 3))
(format t "Inner LET: ~a~%" x))
(format t "Out LET: ~a~%" x))
(format t "Parameter:~a~%" x))
FOO
CL-USER> (foo 1)
Parameter:1
Out LET: 2
Inner LET: 3
Out LET: 2
Parameter:1
NIL
let的作用域范围被限定在引入该变量的形式之内