6958c61a9e936ca958893fa2fb3c94fc14296a4d
[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 a where {o_and :: a -> a -> a} ;
11 1 f _:_ _forall_ [a] => PrelBase.Bool -> a -> PrelBase.Bool ;;
12 1 g _:_ _forall_ [a b] {Foo b, PrelBase.Num b} => b -> a -> b ;;