Add all the A tasks
This commit is contained in:
parent
2dd7375f96
commit
051504d65b
1608 changed files with 18584 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
fib :: Integer -> Maybe Integer
|
||||
fib n
|
||||
| n < 0 = Nothing
|
||||
| otherwise = Just $ real n
|
||||
where real 0 = 1
|
||||
real 1 = 1
|
||||
real n = real (n-1) + real (n-2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue