[project @ 1998-04-17 15:58:37 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc056.stderr
1  
2 tc056.hs:15: Warning:
3     Duplicated class assertion `Eq' a' in the context: (Eq' a, Eq' a)
4
5 ghc: module version changed to 1; reason: no old .hi file
6 _interface_ ShouldSucceed 1 302
7 _instance_modules_
8 IO PrelAddr PrelArr PrelBounded PrelCCall PrelForeign PrelNum
9 _usages_
10 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;
11 PrelNum 1 :: $dEqDouble0 1 $dEqInteger0 1 $dNumDouble0 1 $dNumInteger0 1 $dShowDouble0 1 $dShowInteger0 1;
12 _exports_
13 ShouldSucceed f Eq'(:Eq' :Eq' doubleeq) Ord'(:Ord' :Ord' lt);
14 _instances_
15 instance _forall_ [a] {Eq' a, Eq' a} => {Eq' [a]} = $dEq'0;
16 instance {Eq' PrelBase.Int} = $dEq'Int0;
17 _declarations_
18 1 $dEq'0 _:_ _forall_ [a] {Eq' a, Eq' a} => {Eq' [a]} ;;
19 1 $dEq'Int0 _:_ {Eq' PrelBase.Int} ;;
20 1 class Eq' a where {doubleeq :: a -> a -> PrelBase.Bool} ;
21 1 class {Eq' a} => Ord' a where {lt :: a -> a -> PrelBase.Bool} ;
22 1 f _:_ _forall_ [a b] {Eq' [b], PrelBase.Num b} => [b] -> a -> PrelBase.Bool ;;