[project @ 1998-04-17 15:58:37 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc058.stderr
1 ghc: module version changed to 1; reason: no old .hi file
2 _interface_ ShouldSucceed 1 302
3 _instance_modules_
4 IO PrelAddr PrelArr PrelBounded PrelCCall PrelForeign PrelNum
5 _usages_
6 PrelBase 1 :: $dEq0 1 $dEq1 1 $dEqBool0 1 $dEqChar0 1 $dEqInt0 1 $dEval0 1 $dEval1 1 $dEval2 1 $dEvalBool0 1 $dEvalChar0 1 $dEvalDouble0 1 $dEvalInt0 1 $dEvalInteger0 1 $dNumInt0 1 $dShow0 1 $dShow1 1 $dShow2 1 $dShowBool0 1 $dShowChar0 1 $dShowInt0 1 $m- 1 $m/= 1 $mfromInt 1 $mshowList 1 Eq 1 Eval 1 Num 1 Show 1 String 1;
7 PrelNum 1 :: $dEqDouble0 1 $dEqInteger0 1 $dNumDouble0 1 $dNumInteger0 1 $dShowDouble0 1 $dShowInteger0 1;
8 _exports_
9 ShouldSucceed f Eq2(:Eq2 :Eq2 doubleeq) Ord2(:Ord2 :Ord2 lt);
10 _instances_
11 instance _forall_ [a] {Eq2 a, Ord2 a} => {Eq2 [a]} = $dEq20;
12 instance {Eq2 PrelBase.Int} = $dEq2Int0;
13 instance {Ord2 PrelBase.Int} = $dOrd2Int0;
14 _declarations_
15 1 $dEq20 _:_ _forall_ [a] {Eq2 a, Ord2 a} => {Eq2 [a]} ;;
16 1 $dEq2Int0 _:_ {Eq2 PrelBase.Int} ;;
17 1 $dOrd2Int0 _:_ {Ord2 PrelBase.Int} ;;
18 1 class Eq2 a where {doubleeq :: a -> a -> PrelBase.Bool} ;
19 1 class {Eq2 a} => Ord2 a where {lt :: a -> a -> PrelBase.Bool} ;
20 1 f _:_ _forall_ [a b] {Eq2 [b], PrelBase.Num b} => [b] -> a -> PrelBase.Bool ;;