7 lines
94 B
Haskell
7 lines
94 B
Haskell
module Info () where
|
|
|
|
fib :: Int -> Int
|
|
fib 0 = 0
|
|
fib 1 = 1
|
|
fib n = fib (n - 1) + fib (n - 2)
|