3 Could not deduce `Show (SubRange a1)' from the context (Num a)
5 Add `Show (SubRange a1)' to the instance declaration context
6 Or add an instance declaration for `Show (SubRange a1)'
7 arising from an instance declaration at tcfail067.hs:60
10 Could not deduce `Ord a1'
11 from the context (Num (SubRange a),
16 Add `Ord a1' to the instance declaration context
17 arising from use of `numSubRangeNegate' at tcfail067.hs:61
18 in the definition of function `negate': numSubRangeNegate
21 Could not deduce `Ord a' from the context (Num a)
23 Add `Ord a' to the type signature(s) for {numSubRangeBinOp}
24 arising from use of `SubRange' at tcfail067.hs:74
25 in the definition of function `numSubRangeBinOp':
26 SubRange (result, result) result