Skip to content

Commit ad22ecb

Browse files
committed
changelog
1 parent 7735422 commit ad22ecb

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
- **Changed:**
2+
Until 8.19 term level 200 contained a sub-entry `binder_constr`
3+
(containing e.g. `forall`) and notations declared at level 200 were
4+
redirected to `binder_constr`. In 8.19 `binder_constr` was moved to
5+
level 10, keeping the redirection for notations declared at level 200.
6+
7+
`binder_constr` has now been removed with its parsing rules put
8+
directly at level 10, and notations declared at level 200 are
9+
redirected to level 10. Any right recursion in such a redirected
10+
notation is still interpreted as though it was really in right
11+
associative level 200, i.e. the right recursion is at level 200.
12+
13+
The redirection will be removed in the future and is therefore
14+
deprecated. To keep the current behaviour, declare your notations at
15+
level 10 and any recursion at level 200. For instance,
16+
17+
.. rocqdoc::
18+
19+
Reserved Notation "'exists' x .. y , p"
20+
(at level 200, x binder).
21+
22+
becomes
23+
24+
.. rocqdoc::
25+
26+
Reserved Notation "'exists' x .. y , p"
27+
(at level 10, x binder, p at level 200).
28+
29+
Finally note that any `associativity` annotation on notations
30+
declared at level 200 are currrently ignored to avoid interfering
31+
with the redirection to left-associative level 10 (`#21671
32+
<https://github.com/rocq-prover/rocq/pull/21671>`_, by Gaëtan
33+
Gilbert).

0 commit comments

Comments
 (0)