test-suite/prerequisite/make_notation.v
raw| 1 | (* Used in Notation.v to test import of notations from files in sections *) |
| 2 | |
| 3 | Notation "'Z'" := O (at level 9). |
| 4 | Notation plus := plus. |
| 5 | Notation succ := S. |
| 6 | Notation mult := mult (only parsing). |
| 7 | Notation less := le (only parsing). |
| 8 | |
| 9 | (* Test bug 2168: ending section of some name was removing objects of the |
| 10 | same name *) |
| 11 | |
| 12 | Notation add2 n:=(S n). |
| 13 | Section add2. |
| 14 | End add2. |
| 15 |