Debian Codegraph @

test-suite/ltac2/ltac2_recursive_nota.v

raw
1 Require Import Ltac2.Ltac2.
2 Notation binder_act := ltac2:(exact eq_refl) (only parsing).
3 Notation binder x := (binder_act :> x = x) (only parsing).
4
5 #[local] Notation "'test{' x .. y } P" :=
6 ((fun x => .. ((fun y => P), binder (fun y => I)) ..), binder (fun x => I))
7 (at level 1, x binder, y binder, only parsing).
8
9 Check (test{(aa : nat) (bb : bool)} True).