ghc-mod/test/data/Info.hs
2013-03-30 21:24:57 +09:00

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)