bldc/tests/test_let_2.lisp

3 lines
73 B
Common Lisp

(let ((f (lambda (x) (if (= x 0) 0 (+ x (f (- x 1))))))) (= (f 10) 55))