blob: 307b4044d5dd4d1918935e071b8ffb476aa63235 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
tcfail207.hs:5:7:
Couldn't match expected type `[Int] -> [Int]'
with actual type `[a0]'
In the return type of a call of `take'
Probable cause: `take' is applied to too many arguments
In the expression: take x []
In an equation for `f': f x = take x []
tcfail207.hs:9:5:
Couldn't match expected type `[Int]'
with actual type `[a0] -> [a0]'
In the return type of a call of `take'
Probable cause: `take' is applied to too few arguments
In the expression: take 3
In an equation for `g': g = take 3
|