blob: 231d57dcdd07bd0cc7bf3c69b51524170c0f46d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
T5853.hs:15:52: error:
Could not deduce: Subst t1 (Elem t2) ~ t2
from the context: (F t,
Subst t (Elem t2) ~ t2,
Subst t2 (Elem t) ~ t,
F t1,
Subst t1 (Elem t) ~ t,
Subst t (Elem t1) ~ t1)
bound by the RULE "map/map" at T5853.hs:15:2-57
‘t2’ is a rigid type variable bound by
the RULE "map/map" at T5853.hs:15:2
In the expression: (f . g) <$> xs
When checking the transformation rule "map/map"
Relevant bindings include
f :: Elem t -> Elem t2 (bound at T5853.hs:15:19)
g :: Elem t1 -> Elem t (bound at T5853.hs:15:21)
xs :: t1 (bound at T5853.hs:15:23)
|