home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / lisp / xlsp20.arc / XLISPLSP.ARC / FACT.LSP next >
Lisp/Scheme  |  1988-02-12  |  77b  |  4 lines

  1. (defun fact (n)
  2.        (cond ((= n 1) 1)
  3.          (t (* n (fact (- n 1))))))
  4.