f85e891c30c8cf83cad2263ec6d47109211716e9
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc086.stderr
1 ghc: module version changed to 1; reason: no old .hi file
2 _exports_
3 ShouldSucceed Group Ring;
4 _declarations_
5 1 $m* _:_ _forall_ [a] {Ring a} => a -> a -> a ;;
6 1 $mone _:_ _forall_ [a] {Group a} => a ;;
7 1 $mzero _:_ _forall_ [a] {Group a} => a ;;
8 1 class Group a where {one = :: a; zero = :: a; - :: a -> a -> a; + :: a -> a -> a; fromInteger :: PrelBase.Integer -> a; compare :: a -> a -> PrelBase.Ordering} ;
9 1 class {Group a} => Ring a where {* = :: a -> a -> a} ;