[project @ 2001-03-29 14:33:37 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc043.stderr
index afcc264..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]} ;;
+__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_ [a b] {A b} => a -> b ;;
+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]} ;