tcfail067.hs:65: Warning:
- No explicit method nor default method for `signum'
- in an instance declaration for `Num'
+ No explicit method nor default method for `PrelBase.signum'
+ in an instance declaration for `PrelBase.Num'
tcfail067.hs:65: Warning:
- No explicit method nor default method for `abs'
- in an instance declaration for `Num'
+ No explicit method nor default method for `PrelBase.abs'
+ in an instance declaration for `PrelBase.Num'
-tcfail067.hs:76:
- Could not deduce `Ord a'
- (arising from use of `SubRange' at tcfail067.hs:76)
- from the context (Num a, numSubRangeBinOp at [a])
- Probable cause: missing `Ord a' in type signature for `numSubRangeBinOp'
- When checking the type signature(s) for `numSubRangeBinOp'
-
tcfail067.hs:65:
- Could not deduce `Ord a'
+ Could not deduce `PrelBase.Ord a'
(arising from use of `SubRange' at tcfail067.hs:65)
- from the context (Num (SubRange a), Num a, Eq (SubRange a), Show (SubRange a), Eq (SubRange a), Show (SubRange a), fromInt at [SubRange a], fromInteger at [SubRange a], signum at [SubRange a], abs at [SubRange a], negate at [SubRange a], * at [SubRange a], - at [SubRange a], + at [SubRange a])
- Probable cause: missing `Ord a' in instance declaration context
+ 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))
+ Probable cause: missing `PrelBase.Ord a'
+ in instance declaration context
When checking the methods of an instance declaration
tcfail067.hs:65:
- Could not deduce `Show (SubRange a)'
+ Could not deduce `PrelBase.Show (SubRange a)'
(arising from an instance declaration at tcfail067.hs:65)
- from the context (Num a)
- Probable cause: missing `Show (SubRange a)' in instance declaration context
- or missing instance declaration for `Show (SubRange a)'
+ from the context: (PrelBase.Num _97)
+ Probable cause: missing `PrelBase.Show (SubRange a)'
+ in instance declaration context
+ or missing instance declaration for `PrelBase.Show (SubRange a)'
When checking the superclasses of an instance declaration
+
+tcfail067.hs:74:
+ Could not deduce `PrelBase.Ord a'
+ (arising from use of `SubRange' at tcfail067.hs:74)
+ from the context: (PrelBase.Num a)
+ Probable cause: missing `PrelBase.Ord a'
+ in type signature for `numSubRangeBinOp'
+ When checking the type signature(s) for `numSubRangeBinOp'
Compilation had errors
+