In Clozure Common Lisp:<p><pre><code>    ? (defun closure-test ()
        (let ((x 32))
          (list (lambda (y) (+ y 10))
                (lambda (y) (+ x y)))))
    CLOSURE-TEST

    ? (closure-test)
    (#&lt;Compiled-function (:INTERNAL CLOSURE-TEST) (Non-Global)  #x302000CBD71F&gt;
     #&lt;COMPILED-LEXICAL-CLOSURE (:INTERNAL CLOSURE-TEST) #x302000D1EE2F&gt;)</code></pre>