[project @ 1997-12-16 17:15:04 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc086.stderr
1 ghc: module version changed to 1; reason: no old .hi file
2 _interface_ ShouldSucceed 1
3 _instance_modules_
4 Addr ArrBase Foreign IO PrelBounded PrelNum
5 _usages_
6 PrelBase 1 :: $d1 1 $d10 1 $d13 1 $d15 1 $d2 1 $d21 1 $d26 1 $d27 1 $d28 1 $d29 1 $d3 1 $d30 1 $d31 1 $d33 1 $d34 1 $d36 1 $d37 1 $d38 1 $d4 1 $d42 1 $d43 1 $d7 1 $d8 1 $m- 1 $m/= 1 $mfromInt 1 $mshowList 1 Eq 1 Eval 1 Num 1 Ordering 1 Ordering 1 Show 1 String 1;
7 PrelNum 1 :: $d10 1 $d16 1 $d18 1 $d29 1 $d33 1 $d35 1;
8 _exports_
9 ShouldSucceed Group Ring;
10 _declarations_
11 1 $m* _:_ _forall_ [a] {Ring a} => a -> a -> a ;;
12 1 $mone _:_ _forall_ [a] {Group a} => a ;;
13 1 $mzero _:_ _forall_ [a] {Group a} => a ;;
14 1 class Group a where {compare :: a -> a -> PrelBase.Ordering; fromInteger :: PrelBase.Integer -> a; + :: a -> a -> a; - :: a -> a -> a; zero = :: a; one = :: a} ;
15 1 class {Group a} => Ring a where {* = :: a -> a -> a} ;