transcendental-lisp/lisp/random/problem.lisp

7 lines
118 B
Common Lisp
Raw Normal View History

(defun problem (n)
(if (< n 1) nil
2017-03-06 11:00:18 -05:00
(cons n (problem (- n 1)))))
2017-03-07 16:41:26 -05:00
(setq y (problem 20))
(setq x (problem 20000))