Something like this?
Tactic Notation "mytac" constr(l) integer(n) := elpi mytac ltac_term:(l) ltac_int:(n).
Yes, it does work, though, for some reason, when the tactic had only one argument (aka l
), it wasn't necessary to wrise ltac_term:
before l
on the right-hand side
Pierre Vial has marked this topic as resolved.
The problem is the missing :
after ltac_int
, not the extra ltac_term
.
Last updated: Feb 04 2023 at 01:03 UTC