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)))))
(setf y (problem 20))
(setf x (problem 20000))