coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Loic Pottier <loic.pottier AT sophia.inria.fr>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] matching variables in Ltac
- Date: Wed, 05 May 2010 11:49:30 +0200
Hi,
with Ltac, can we match names of variables in a pattern, to use them in right-hand side? e.g:
Ltac tac:=
match goal with
|- forall ?x:?E, ?P => idtac x
end.
(but this does not work :-( )
or, if not, associate a character to a type so that intro will use it by default?
Loïc
- [Coq-Club] matching variables in Ltac, Loic Pottier
- Re: [Coq-Club] matching variables in Ltac, Paolo Herms
- Re: [Coq-Club] matching variables in Ltac, AUGER
- <Possible follow-ups>
- Re: [Coq-Club] matching variables in Ltac, Arthur Charguéraud
Archive powered by MhonArc 2.6.16.