[project @ 1999-01-23 17:57:35 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail067.stderr
1  
2 tcfail067.hs:65: Warning:
3     No explicit method nor default method for `PrelBase.signum'
4     in an instance declaration for `PrelBase.Num'
5  
6 tcfail067.hs:65: Warning:
7     No explicit method nor default method for `PrelBase.abs'
8     in an instance declaration for `PrelBase.Num'
9
10  
11 tcfail067.hs:65:
12     Could not deduce `PrelBase.Ord a'
13         (arising from use of `SubRange' at tcfail067.hs:65)
14         from the context: (PrelBase.Num (SubRange _97), PrelBase.Num _97, PrelBase.Eq (SubRange _97), PrelBase.Show (SubRange _97), PrelBase.Eq (SubRange _97), PrelBase.Show (SubRange _97))
15     Probable cause: missing `PrelBase.Ord a'
16                     in instance declaration context
17     When checking the methods of an instance declaration
18  
19 tcfail067.hs:65:
20     Could not deduce `PrelBase.Show (SubRange a)'
21         (arising from an instance declaration at tcfail067.hs:65)
22         from the context: (PrelBase.Num _97)
23     Probable cause: missing `PrelBase.Show (SubRange a)'
24                     in instance declaration context
25                     or missing instance declaration for `PrelBase.Show (SubRange a)'
26     When checking the superclasses of an instance declaration
27  
28 tcfail067.hs:74:
29     Could not deduce `PrelBase.Ord a'
30         (arising from use of `SubRange' at tcfail067.hs:74)
31         from the context: (PrelBase.Num a)
32     Probable cause: missing `PrelBase.Ord a'
33                     in type signature for `numSubRangeBinOp'
34     When checking the type signature(s) for `numSubRangeBinOp'
35
36
37 Compilation had errors
38