Progress, but there's something wrong with nlambdas
This commit is contained in:
parent
11409301da
commit
cec32eff54
12 changed files with 288 additions and 204 deletions
4
lisp/fact.lisp
Normal file
4
lisp/fact.lisp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(set! fact
|
||||
(lambda (n)
|
||||
(cond ((= n 1) 1)
|
||||
(true (* n (fact (- n 1)))))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue