coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: St�phane Lescuyer <lescuyer AT lri.fr>
- To: hugo.herbelin AT inria.fr
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] List of hypotheses in Tactic Notation
- Date: Sun, 5 Apr 2009 23:38:32 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=MCabTq8g0OluaFqJIky553UH0rlptf/HoAsYeCYyYhUsH0KHwlpW/BuyBGJbEPTnXa C7vEtrQS8jNJm5l7m9/ECDNHoh/lazDBZBPjeN6Vw3OrsWjZeGMajzhe0kE+0EjRMhds LaCtcMi7sLrMxn2N5UP/K0+VAkfoSL0QLS4ds=
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
OK, thank you for your answer !
S.L.
2009/4/5
<hugo.herbelin AT inria.fr>:
> Hi,
>
>> I was trying to use the new hyp_list and ne_hyp_list argument types
>> of Tactic Notations:
>>
>> Tactic Notation "mytactic" hyp_list(Hyps) :=
>> ....
>>
>> I can't find a way to deconstruct or traverse these lists in the body
>> of the tactic; therefore it seems the only thing that one can do is to
>> pass this list of hypotheses
>> to an existing tactic awaiting a list of arguments (clean, revert, ...
>> ; idtac will not print the list though). Can anyone confirm this ?
>
> Nothing is indeed provided to deconstruct or traverse these lists. As
> Coq is, one can only use them in tactics awaiting for list of
> arguments. Regarding idtac, it could indeed print the actual
> list and this will be considered.
>
> Hugo Herbelin
>
>
--
I'm the kind of guy that until it happens, I won't worry about it. -
R.H. RoY05, MVP06
- [Coq-Club] List of hypotheses in Tactic Notation, Stéphane Lescuyer
- Re: [Coq-Club] List of hypotheses in Tactic Notation,
Hugo Herbelin
- Re: [Coq-Club] List of hypotheses in Tactic Notation, Stéphane Lescuyer
- Re: [Coq-Club] List of hypotheses in Tactic Notation,
Hugo Herbelin
Archive powered by MhonArc 2.6.16.