Debian Codegraph @

test-suite/bugs/bug_9532.v

raw
1 Declare Custom Entry atom.
2 Notation "1" := tt (in custom atom).
3 Notation "atom:( s )" := s (s custom atom).
4
5 Declare Custom Entry expr.
6 Notation "expr:( s )" := s (s custom expr).
7 Notation "( x , y , .. , z )" := (@cons unit x (@cons unit y .. (@cons unit z (@nil unit)) ..))
8 (in custom expr at level 0, x custom atom, y custom atom, z custom atom).
9
10 Check atom:(1).
11 Check expr:((1,1)).
12 Check expr:((1,1,1)).