Sign in
android
/
platform
/
external
/
boost
/
077d563efdb280a3d144892e2d0ca01e6a49f454
/
.
/
libs
/
spirit
/
example
/
scheme
/
example
/
scheme
/
factorial.scm
blob: f87b2dcd16cab2ec2c164541a68752a1484472c7 [
file
] [
log
] [
blame
]
; The hello-world for interpreters ;-)
(
define
(
factorial n
)
(
if
(
<=
n
0
)
1
(
*
n
(
factorial
(
-
n
1
)))))