bldc/tests/test_lambda_8.lisp

8 lines
148 B
Common Lisp

(define f (lambda ()
(let ((a 1))
(lambda (x)
(let ((b a))
(+ x b))))))
(= ((f) 1) 2)