blob: 5e5661e74a0103354ecbf8aa7d38b9e8e46bd993 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
T2494.hs:15:7:
Couldn't match type `b' with `a'
`b' is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:14:46
`a' is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:13:46
Expected type: Maybe (m b) -> Maybe (m b)
Actual type: Maybe (m a) -> Maybe (m a)
In the first argument of `foo', namely `f'
In the expression: foo f (foo g x)
T2494.hs:15:30:
Couldn't match type `b' with `a'
`b' is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:14:46
`a' is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:13:46
Expected type: Maybe (m b) -> Maybe (m a)
Actual type: Maybe (m b) -> Maybe (m b)
In the second argument of `(.)', namely `g'
In the first argument of `foo', namely `(f . g)'
|