Bring test suite up to date
This commit is contained in:
11
test/data/ghc-mod-check/lib/Data/Foo.hs
Normal file
11
test/data/ghc-mod-check/lib/Data/Foo.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
module Data.Foo where
|
||||
|
||||
foo :: Int
|
||||
foo = undefined
|
||||
|
||||
fibonacci :: Int -> Integer
|
||||
fibonacci n = fib 1 0 1
|
||||
where
|
||||
fib m x y
|
||||
| n == m = y
|
||||
| otherwise = fib (m+1) y (x + y)
|
||||
Reference in New Issue
Block a user