Changeset 11877 for trunk/HasCASL/test/ContraVariance.hascasl
- Timestamp:
- 03.07.2009 18:38:45 (5 months ago)
- Files:
-
- 1 modified
-
trunk/HasCASL/test/ContraVariance.hascasl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/HasCASL/test/ContraVariance.hascasl
r8098 r11877 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 1 var a : +Type 2 type p a := Pred (Pred a) %% should be correct 3 type p a := Pred a %% should be wrong 4 type m (b : -Type) := b %% 5 type m (b : +Type) := b %% both contradict