home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel
/
CAROUSEL.cdr
/
mactosh
/
lang
/
xlisp.sha
/
fact.lsp
next >
Wrap
Lisp/Scheme
|
1985-02-17
|
84b
|
4 lines
(defun factorial (n)
(cond ((= n 1) 1)
(t (* n (factorial (- n 1))))))