2 tcfail071.hs:10: Couldn't match the signature/existential type variable
3 `taCF' with the type `taCR -> taCS -> taCS'
4 Expected: `taCR -> taCS -> taCS'
6 In the first argument of `PrelBase.foldr', namely `(f c)'
7 In an equation for function `g':
11 p = PrelBase.foldr (f c) PrelBase.[] PrelBase.[]'
13 tcfail071.hs:8: Mismatched contexts
14 When matching the contexts of the signatures for `f' and `g'
15 (the signature contexts in a mutually recursive group should all be identical)
18 Compilation had errors