The Lambda Lab
/
projects
/
scheme.forth.jl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implemented load word. (Now just need scheme prim.)
[scheme.forth.jl.git]
/
fact.scm
1
; Demo scheme source file.
2
3
(define (fact n)
4
(if (= n 0)
5
1
6
(* n (fact (- n 1)))))
7
8
; Done!