bldc/tests/test_lambda_5.lisp

6 lines
79 B
Common Lisp

(define f
(lambda ()
(lambda (x) (+ x 1))))
(check (= ((f) 1) 2 ))