Data update

This commit is contained in:
Ingy döt Net 2023-09-16 17:28:03 -07:00
parent 5af6d93694
commit 796d366b97
455 changed files with 7413 additions and 1900 deletions

View file

@ -0,0 +1,3 @@
(defun factorial (n)
(cond ((zerop n) 1)
(t (times n (factorial (sub1 n))))))

View file

@ -0,0 +1,5 @@
(defun factorial (n (result . 1))
(loop
(until (zerop n) result)
(setq result (times n result))
(setq n (sub1 n))))