[project @ 1999-05-12 12:23:53 by keithw]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc045.stderr
index e371b20..fde05b3 100644 (file)
@@ -1,8 +1,8 @@
 ghc: module version changed to 1; reason: no old .hi file
 __export ShouldSucceed B{op2} C{op1};
-instance __forall [a] {B a} => {B [a]} = zdfBZMZN;
+instance __forall [a] => {B a} -> {B [a]} = zdfBZMZN;
 instance __forall [a] => {C [a]} = zdfCZMZN;
 1 class {C a}  => B a where {op2 :: a -> a -> a} ;
 1 class C a where {op1 :: a -> a} ;
-1 zdfBZMZN :: __forall [a] {B a, C [a]} => {B [a]} ;
+1 zdfBZMZN :: __forall [a] => {B a} -> {C [a]} -> {B [a]} ;
 1 zdfCZMZN :: __forall [a] => {C [a]} ;