[project @ 1998-11-16 18:14:44 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc050.stderr
1 ghc: module version changed to 1; reason: no old .hi file
2 _exports_
3 ShouldSucceed f g Foo{:Foo :Foo o_and};
4 _instances_
5 instance {Foo PrelBase.Bool} = $dFooBool0;
6 instance {Foo PrelBase.Int} = $dFooInt0;
7 _declarations_
8 1 $dFooBool0 _:_ {Foo PrelBase.Bool} ;;
9 1 $dFooInt0 _:_ {Foo PrelBase.Int} ;;
10 1 class Foo $r3Q where {o_and :: $r3Q -> $r3Q -> $r3Q} ;
11 1 f _:_ _forall_ [$a] => PrelBase.Bool -> $a -> PrelBase.Bool ;;
12 1 g _:_ _forall_ [$a $b] {PrelBase.Num $b, Foo $b} => $b -> $a -> $b ;;