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