Post Scarcity
A prototype for a post scarcity programming environment
Loading...
Searching...
No Matches
fact.lisp
Go to the documentation of this file.
1(set! fact
2 (lambda (n)
3 "Compute the factorial of `n`, expected to be a natural number."
4 (cond ((= n 1) 1)
5 (t (* n (fact (- n 1)))))))
6
7; (fact 1000)
8
9