[project @ 1997-12-16 17:15:04 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc045.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 _exports_
6 ShouldSucceed B(op2) C(op1);
7 _instances_
8 instance _forall_ [a] => {C [a]} = $d1;
9 instance _forall_ [a] {B a} => {B [a]} = $d2;
10 _declarations_
11 1 $d1 _:_ _forall_ [a] => {C [a]} ;;
12 1 $d2 _:_ _forall_ [a] {B a, C [a]} => {B [a]} ;;
13 1 class {C a} => B a where {op2 :: a -> a -> a} ;
14 1 class C a where {op1 :: a -> a} ;