This website requires JavaScript.
Explore
Help
Sign In
mirror
/
RosettaCodeData
mirror of
https://github.com/acmeism/RosettaCodeData.git
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
main
RosettaCodeData
/
Task
/
Time-a-function
/
Racket
/
time-a-function.rkt
4 lines
89 B
Racket
Raw
Permalink
Blame
History
#lang
racket
(
define
(
fact
n
)
(
if
(
zero?
n
)
1
(
*
n
(
fact
(
sub1
n
)
)
)
)
)
(
time
(
fact
5000
)
)
Reference in New Issue
View Git Blame
Copy Permalink