e36f4466a58777db9b9d87e5d34952370a1f5ad7
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail071.stderr
1  
2 tcfail071.hs:10: Couldn't match the signature/existential type variable
3                      `taEm' with the type `taEz -> taEw -> taEw'
4     Expected: `taEm'
5     Inferred: `taEz -> taEw -> taEw'
6     In the first argument of `f', namely `c'
7     In the first argument of `foldr', namely `(f c)'
8     In a pattern binding: `p = foldr (f c) [] []'
9  
10 tcfail071.hs:8: Mismatched contexts
11     When matching the contexts of the signatures for `f' and `g'
12         (the signature contexts in a mutually recursive group should all be identical)
13
14 Compilation had errors