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
aec8ed51b6
RosettaCodeData
/
Task
/
Fibonacci-sequence
/
Haskell
/
fibonacci-sequence-3.hs
7 lines
108 B
Haskell
Raw
Blame
History
fib
x
=
if
x
<
1
then
0
else
if
x
<
2
then
1
else
fib
(
x
-
1
)
+
fib
(
x
-
2
)
Reference in New Issue
View Git Blame
Copy Permalink