| 1 |
Set Universe Polymorphism. |
| 2 |
Set Printing Universes. |
| 3 |
|
| 4 |
Module GlobalReference. |
| 5 |
|
| 6 |
Definition type' := Type. |
| 7 |
Notation type := type'. |
| 8 |
Check type@{Set}. |
| 9 |
|
| 10 |
End GlobalReference. |
| 11 |
|
| 12 |
Module TypeLiteral. |
| 13 |
|
| 14 |
Notation type := Type. |
| 15 |
Check type@{Set}. |
| 16 |
Check type@{Prop}. |
| 17 |
|
| 18 |
End TypeLiteral. |
| 19 |
|
| 20 |
Module ExplicitSort. |
| 21 |
Monomorphic Universe u. |
| 22 |
Notation foo := Type@{u}. |
| 23 |
Fail Check foo@{Set}. |
| 24 |
Fail Check foo@{u}. |
| 25 |
|
| 26 |
Notation bar := Type. |
| 27 |
Check bar@{u}. |
| 28 |
End ExplicitSort. |
| 29 |
|
| 30 |
Module PropNotationUnsupported. |
| 31 |
Notation foo := Prop. |
| 32 |
Fail Check foo@{Set}. |
| 33 |
Fail Check foo@{Type}. |
| 34 |
End PropNotationUnsupported. |