ContraVariance.hascasl.output revision 98b443335df9c77328edb9dbf3ed565535317249
type p a := Pred (Pred a)
%% should be correct
type
type m b := b
%%
type m b := b
%% both contradict
types
m : -Type -> Type;
p : +Type -> Type
types
m := \ b : -Type . b;
p := \ a : +Type . Pred (Pred a)
### Hint 2.27-2.32, wrong covariance of 'a'
### Hint 2.27-2.32, no kind found for 'a'
*** Error 2.27-2.32, no kind found for 'Pred a'
*** Error 4.6,
incompatible kind of: m
expected: -Type -> Type
found: +Type -> Type