blob: 504fbf5094aceda9d38dac840ed4fd118ed3f870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
TidyClash2.hs:13:20: error:
• Found type wildcard ‘_’ standing for ‘w1’
Where: ‘w1’ is a rigid type variable bound by
the inferred type of barry :: w1 -> w2 -> t
at TidyClash2.hs:14:1-40
To use the inferred type, enable PartialTypeSignatures
• In the type ‘_ -> _ -> t’
In the type signature: barry :: forall t. _ -> _ -> t
TidyClash2.hs:13:25: error:
• Found type wildcard ‘_’ standing for ‘w2’
Where: ‘w2’ is a rigid type variable bound by
the inferred type of barry :: w1 -> w2 -> t
at TidyClash2.hs:14:1-40
To use the inferred type, enable PartialTypeSignatures
• In the type ‘_ -> _ -> t’
In the type signature: barry :: forall t. _ -> _ -> t
TidyClash2.hs:14:13: error:
• Found type wildcard ‘_’ standing for ‘w1’
Where: ‘w1’ is a rigid type variable bound by
the inferred type of barry :: w1 -> w2 -> t
at TidyClash2.hs:14:1-40
To use the inferred type, enable PartialTypeSignatures
• In a pattern type signature: _
In the pattern: x :: _
In an equation for ‘barry’:
barry (x :: _) (y :: _) = undefined :: _
• Relevant bindings include
barry :: w1 -> w2 -> t (bound at TidyClash2.hs:14:1)
TidyClash2.hs:14:22: error:
• Found type wildcard ‘_’ standing for ‘w2’
Where: ‘w2’ is a rigid type variable bound by
the inferred type of barry :: w1 -> w2 -> t
at TidyClash2.hs:14:1-40
To use the inferred type, enable PartialTypeSignatures
• In a pattern type signature: _
In the pattern: y :: _
In an equation for ‘barry’:
barry (x :: _) (y :: _) = undefined :: _
• Relevant bindings include
x :: w1 (bound at TidyClash2.hs:14:8)
barry :: w1 -> w2 -> t (bound at TidyClash2.hs:14:1)
TidyClash2.hs:14:40: error:
• Found type wildcard ‘_’ standing for ‘w3’
Where: ‘w3’ is a rigid type variable bound by
the inferred type of <expression> :: w3
at TidyClash2.hs:14:40
To use the inferred type, enable PartialTypeSignatures
• In an expression type signature: _
In the expression: undefined :: _
In an equation for ‘barry’:
barry (x :: _) (y :: _) = undefined :: _
• Relevant bindings include
y :: w2 (bound at TidyClash2.hs:14:17)
x :: w1 (bound at TidyClash2.hs:14:8)
barry :: w1 -> w2 -> t (bound at TidyClash2.hs:14:1)
|