September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,5 +1,8 @@
|
|||
fib x = if x < 1 then 0
|
||||
else if x==1 then 1
|
||||
else fibs!!(x - 1) + fibs!!(x - 2)
|
||||
fib x =
|
||||
if x < 1
|
||||
then 0
|
||||
else if x == 1
|
||||
then 1
|
||||
else fibs !! (x - 1) + fibs !! (x - 2)
|
||||
where
|
||||
fibs = map fib [0..]
|
||||
fibs = map fib [0 ..]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue