[project @ 1998-02-03 11:24:18 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc093.stderr
index f9652e7..c420b1e 100644 (file)
@@ -1,7 +1,7 @@
 ghc: module version changed to 1; reason: no old .hi file
 _interface_ ShouldSucceed 1
 _instance_modules_
-Addr ArrBase Foreign IO PrelBounded PrelNum
+IO PrelAddr PrelArr PrelBounded PrelCCall PrelForeign PrelNum
 _usages_
 PrelBase 1 :: $d1 1 $d10 1 $d12 1 $d13 1 $d15 1 $d18 1 $d2 1 $d20 1 $d21 1 $d26 1 $d27 1 $d28 1 $d29 1 $d3 1 $d30 1 $d31 1 $d33 1 $d34 1 $d36 1 $d37 1 $d38 1 $d39 1 $d4 1 $d40 1 $d41 1 $d42 1 $d43 1 $d6 1 $d7 1 $d8 1 $m- 1 $m/= 1 $m< 1 $m<= 1 $m> 1 $m>= 1 $m>> 1 $mcompare 1 $mfromInt 1 $mmax 1 $mmin 1 $mshowList 1 && 1 . 1 not 1 showList__ 1 showParen 1 showSpace 1 showString 1 Eq 1 Eval 1 Monad 1 Num 1 Ord 1 Ordering 1 Show 1 ShowS 1 String 1;
 PrelNum 1 :: $d10 1 $d16 1 $d17 1 $d18 1 $d29 1 $d33 1 $d34 1 $d35 1;
@@ -9,21 +9,21 @@ PrelTup 1 :: $d13 1 $d4 1 $d49 1 $d9 1;
 _exports_
 ShouldSucceed bindState foo unState unitState St State(State) TS(TS vs);
 _instances_
-instance _forall_ [c] {PrelBase.Eq c} => {PrelBase.Monad (State c)} = $d1;
+instance _forall_ [a] {PrelBase.Eq a} => {PrelBase.Monad (State a)} = $d1;
 instance {PrelBase.Eq TS} = $d2;
 instance {PrelBase.Eval TS} = $d3;
-instance _forall_ [c a] => {PrelBase.Eval (State c a)} = $d4;
+instance _forall_ [a b] => {PrelBase.Eval (State a b)} = $d4;
 instance {PrelBase.Show TS} = $d5;
 _declarations_
-1 $d1 _:_ _forall_ [c] {PrelBase.Eq c} => {PrelBase.Monad (State c)} ;;
+1 $d1 _:_ _forall_ [a] {PrelBase.Eq a} => {PrelBase.Monad (State a)} ;;
 1 $d2 _:_ {PrelBase.Eq TS} ;;
 1 $d3 _:_ {PrelBase.Eval TS} ;;
-1 $d4 _:_ _forall_ [c a] => {PrelBase.Eval (State c a)} ;;
+1 $d4 _:_ _forall_ [a b] => {PrelBase.Eval (State a b)} ;;
 1 $d5 _:_ {PrelBase.Show TS} ;;
-1 type St = State TS ;
+1 bindState _:_ _forall_ [a b c] => State a b -> (b -> State a c) -> State a c ;;
 1 data State c a = State (c -> (a, c)) ;
 1 data TS = TS {vs :: PrelBase.Int} ;
-1 bindState _:_ _forall_ [ta tb tc] => State tb ta -> (ta -> State tb tc) -> State tb tc ;;
 1 foo _:_ PrelBase.Int -> State TS PrelBase.Int ;;
-1 unState _:_ _forall_ [ta tb] => State tb ta -> tb -> (ta, tb) ;;
-1 unitState _:_ _forall_ [ta tb] => tb -> State ta tb ;;
+1 type St = State TS ;
+1 unState _:_ _forall_ [a b] => State a b -> a -> (b, a) ;;
+1 unitState _:_ _forall_ [a b] => a -> State b a ;;