[project @ 1999-06-09 09:35:54 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc093.stderr
1 ghc: module version changed to 1; reason: no old .hi file
2 __export ShouldSucceed St State{State} TS{TS vs} bindState foo unState unitState;
3 instance {PrelBase.Eq TS} = zdfEqTS;
4 instance __forall [c] => {PrelBase.Eq c} -> {PrelBase.Monad (State c)} = zdfMonadState;
5 instance {PrelShow.Show TS} = zdfShowTS;
6 1 bindState :: __forall [c a b] => State c a -> (a -> State c b) -> State c b ;
7 1 data State c a = State (c -> (a, c)) ;
8 1 data TS = TS {vs :: PrelBase.Int} ;
9 1 foo :: PrelBase.Int -> St  PrelBase.Int ;
10 1 type St a = State TS a ;
11 1 unState :: __forall [c a] => State c a -> c -> (a, c) ;
12 1 unitState :: __forall [a c] => a -> State c a ;
13 1 zdfEqTS :: {PrelBase.Eq TS} ;
14 1 zdfMonadState :: __forall [c] => {PrelBase.Eq c} -> {PrelBase.Monad (State c)} ;
15 1 zdfShowTS :: {PrelShow.Show TS} ;