This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
ruby--ruby
mirror of
https://github.com/ruby/ruby.git
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
Code
Releases
Activity
62f073a386
ruby--ruby
/
benchmark
/
other-lang
/
fact.scm
9 lines
119 B
Scheme
Raw
Blame
History
(
define
(
fact
n
)
(
if
(
<
n
2
)
1
(
*
n
(
fact
(
-
n
1
)
)
)
)
)
(
dotimes
(
i
10000
)
(
fact
100
)
)
View Git Blame
Copy Permalink