[project @ 1999-01-23 17:57:35 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail044.stderr
1  
2 tcfail044.hs:12: Warning:
3     No explicit method nor default method for `PrelBase.signum'
4     in an instance declaration for `PrelBase.Num'
5  
6 tcfail044.hs:12: Warning:
7     No explicit method nor default method for `PrelBase.abs'
8     in an instance declaration for `PrelBase.Num'
9
10  
11 tcfail044.hs:5:
12     Illegal instance declaration for `PrelBase.Eq (a -> a)'
13         (the instance type must be of form (T a b c)
14          where T is not a synonym, and a,b,c are distinct type variables)
15  
16 tcfail044.hs:12:
17     Illegal instance declaration for `PrelBase.Num (a -> a)'
18         (the instance type must be of form (T a b c)
19          where T is not a synonym, and a,b,c are distinct type variables)
20
21
22 Compilation had errors
23