Equivalent in Common Lisp:
* (let ((a 1))
(defun foo ()
(setq a 2))
(foo)
(print a))
2
2