root/trunk/HasCASL/test/ContraVariance.hascasl
@
8098
| Revision 8098, 227 bytes (checked in by 2maeder, 2 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | type p := \ (a : +Type) . Pred (Pred a) %% should be correct |
| 2 | type p := \ (a : +Type) . Pred a %% should be wrong |
| 3 | type m := \ (b : -Type) . b %% |
| 4 | type m := \ (b : +Type) . b %% both contradict |
Note: See TracBrowser
for help on using the browser.