This website requires JavaScript.
Explore
Help
Sign In
mike
/
transcendental-lisp
Watch
1
Star
1
Fork
You've already forked transcendental-lisp
0
Code
Issues
10
Pull Requests
Packages
Projects
Releases
Wiki
Activity
503b19a5e1
transcendental-lisp
/
lisp
/
fact.lisp
6 lines
63 B
Common Lisp
Raw
Normal View
History
Unescape
Escape
Initial commit
2016-12-07 14:16:45 -05:00
(
defun
fact
(
x
)
User defined functions now set up their scope correctly
2017-02-27 12:00:24 -05:00
(
if
(
<
x
2
)
1
(
*
x
(
fact
(
-
x
1
)
)
)
)
)