[project @ 2000-11-28 08:25:57 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc043.stderr
index f85d585..b97fa1e 100644 (file)
@@ -1,12 +1,10 @@
-ghc: module version changed to 1; reason: no old .hi file
-_exports_
-ShouldSucceed f A{:A :A op1} B{:B :B op2};
-_instances_
-instance {A PrelBase.Int} = $dAInt0;
-instance _forall_ [$a] {B $a} => {B [$a]} = $dB0;
-_declarations_
-1 $dAInt0 _:_ {A PrelBase.Int} ;;
-1 $dB0 _:_ _forall_ [$a] {B $a} => {B [$a]} ;;
-1 class A $r3P where {op1 :: $r3P} ;
-1 class B $r3K where {op2 :: $r3K -> PrelBase.Int} ;
-1 f _:_ _forall_ [$a $b] {A $b} => $a -> $b ;;
+__export ShouldSucceed A{op1} B{op2} f;
+instance {A PrelBase.Int} = zdfAInt;
+instance __forall [a] => {B a} -> {B [a]} = zdfBZMZN;
+1 class A a where {op1 :: a} ;
+1 class B b where {op2 :: b -> PrelBase.Int} ;
+1 f :: __forall [t a] => {A a} -> t -> a ;
+1 zddmop1 :: __forall [a] => {A a} -> a ;
+1 zddmop2 :: __forall [b] => {B b} -> b -> PrelBase.Int ;
+1 zdfAInt :: {A PrelBase.Int} ;
+1 zdfBZMZN :: __forall [a] => {B a} -> {B [a]} ;