c420b1e65794b1babf1fa032813b1f5b3a011479
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc093.stderr
1 ghc: module version changed to 1; reason: no old .hi file
2 _interface_ ShouldSucceed 1
3 _instance_modules_
4 IO PrelAddr PrelArr PrelBounded PrelCCall PrelForeign PrelNum
5 _usages_
6 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;
7 PrelNum 1 :: $d10 1 $d16 1 $d17 1 $d18 1 $d29 1 $d33 1 $d34 1 $d35 1;
8 PrelTup 1 :: $d13 1 $d4 1 $d49 1 $d9 1;
9 _exports_
10 ShouldSucceed bindState foo unState unitState St State(State) TS(TS vs);
11 _instances_
12 instance _forall_ [a] {PrelBase.Eq a} => {PrelBase.Monad (State a)} = $d1;
13 instance {PrelBase.Eq TS} = $d2;
14 instance {PrelBase.Eval TS} = $d3;
15 instance _forall_ [a b] => {PrelBase.Eval (State a b)} = $d4;
16 instance {PrelBase.Show TS} = $d5;
17 _declarations_
18 1 $d1 _:_ _forall_ [a] {PrelBase.Eq a} => {PrelBase.Monad (State a)} ;;
19 1 $d2 _:_ {PrelBase.Eq TS} ;;
20 1 $d3 _:_ {PrelBase.Eval TS} ;;
21 1 $d4 _:_ _forall_ [a b] => {PrelBase.Eval (State a b)} ;;
22 1 $d5 _:_ {PrelBase.Show TS} ;;
23 1 bindState _:_ _forall_ [a b c] => State a b -> (b -> State a c) -> State a c ;;
24 1 data State c a = State (c -> (a, c)) ;
25 1 data TS = TS {vs :: PrelBase.Int} ;
26 1 foo _:_ PrelBase.Int -> State TS PrelBase.Int ;;
27 1 type St = State TS ;
28 1 unState _:_ _forall_ [a b] => State a b -> a -> (b, a) ;;
29 1 unitState _:_ _forall_ [a b] => a -> State b a ;;