blob: 5624d8dc9ec334897c691500b65946a19cdc8963 (
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
|
T10438.hs:7:22: warning:
• Found type wildcard ‘_’ standing for ‘r2’
Where: ‘r2’ is a rigid type variable bound by
the inferred type of g :: r2 -> r2 at T10438.hs:6:9
• In the type signature:
x :: _
In an equation for ‘g’:
g r
= x
where
x :: _
x = r
In an equation for ‘foo’:
foo f
= g
where
g r
= x
where
x :: _
x = r
• Relevant bindings include
x :: r2 (bound at T10438.hs:8:17)
r :: r2 (bound at T10438.hs:6:11)
g :: r2 -> r2 (bound at T10438.hs:6:9)
f :: r (bound at T10438.hs:5:5)
foo :: r -> r1 -> r1 (bound at T10438.hs:5:1)
|