coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Mariusz Giero <giero AT cs.kun.nl>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] matching on terms
- Date: Thu, 28 Aug 2003 16:38:12 +0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hello,
In the below example pattern matching doesn't work when
TAC '([x:A] (P x)) is called, while it does for TAC '([x:A] R).
Why is it so?
------------------------------------------------------------
Variable A:Set; P: A -> Prop; R : Prop.
Tactic Definition TAC arg := Match arg With [ ([id : ?1] ?2) ] -> Idtac.
Lemma test: True.
TAC '([x:A] (P x)).
TAC '([x:A] R).
----------------------------------------------------------------
Thanks,
Mariusz Giero
- [Coq-Club] matching on terms, Mariusz Giero
Archive powered by MhonArc 2.6.16.