blob: cd57f4892f6650f6d849a78ead99da081d20c85e (
plain)
1
2
3
4
5
6
7
8
9
|
module Foo where
f :: Int -> [Int] -> [Int]
-- Want an error message that says 'take' is applied to too many args
f x = take x []
g :: [Int]
-- Want an error message that says 'take' is applied to too few args
g = take 3
|