coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] How do I write tactic notations accepting one or two tactic arguments?
Chronological Thread
- From: Cedric Auger <sedrikov AT gmail.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] How do I write tactic notations accepting one or two tactic arguments?
- Date: Thu, 19 Jun 2014 18:34:47 +0200
I am not expert in tactic notations, but maybe that the problem is that "basicapply R using tac and idtac" is parsed as:
"basicapply" open_constr(R)=<R> "using" tactic(tac)=<tac and idtac>
instead of:
"basicapply" open_constr(R)=<R> "using" tactic(tac)=<tac> "and" tactic(tacfin)=<idtac>
I have no Coq installation, so I cannot try to see if "basicapply R using (tac) and idtac" works better.
--
.../Sedrikov\...
"basicapply" open_constr(R)=<R> "using" tactic(tac)=<tac and idtac>
instead of:
"basicapply" open_constr(R)=<R> "using" tactic(tac)=<tac> "and" tactic(tacfin)=<idtac>
I have no Coq installation, so I cannot try to see if "basicapply R using (tac) and idtac" works better.
2014-06-19 16:34 GMT+02:00 Jason Gross <jasongross9 AT gmail.com>:
Hi,I can't seem to figure out how to get the following tactic notations to work. Can someone enlighten me as to what's going wrong?Tactic Notation "basicapply" open_constr(R) "using" tactic(tac) "and" tactic(tacfin) := idtac.Tactic Notation "basicapply" open_constr(R) "using" tactic(tac) := basicapply R using tac and idtac.(* Toplevel input, characters 99-100:Syntax error: 'and' expected after [tactic:tactic] (in [tactic:simple_tactic]). *)Thanks,Jason
--
.../Sedrikov\...
- [Coq-Club] How do I write tactic notations accepting one or two tactic arguments?, Jason Gross, 06/19/2014
- Re: [Coq-Club] How do I write tactic notations accepting one or two tactic arguments?, Cedric Auger, 06/19/2014
- Re: [Coq-Club] How do I write tactic notations accepting one or two tactic arguments?, Jason Gross, 06/19/2014
- Re: [Coq-Club] How do I write tactic notations accepting one or two tactic arguments?, Cedric Auger, 06/19/2014
Archive powered by MHonArc 2.6.18.