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
8e4e15fa56
RosettaCodeData
/
Task
/
Time-a-function
/
Clojure
/
time-a-function.clj
8 lines
122 B
Clojure
Raw
Blame
History
(
defn
fib
[
]
(
map
first
(
iterate
(
fn
[
[
a
b
]
]
[
b
(
+
a
b
)
]
)
[
0
1
]
)
)
)
(
time
(
take
100
(
fib
)
)
)
Reference in New Issue
View Git Blame
Copy Permalink