coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Kirill Taran <kirill.t256 AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] target polymorphic tactics
- Date: Mon, 18 Aug 2014 19:12:00 +0400
Hello,
Is there a way to implement tactics polymorphically
relatively to area of tactics effect?
I.e. I want to develop tactic which is possible to use either in goal
or some hypothesis (or both).
E.g. such tactic
Ltac do_work :=
...
rewrite some_eq (* in H *)
... .
which I want to use such way:
...
do_work; do_work in H
(* bonus: *) do_work in H, <goal>.
Is there a way to implement tactics polymorphically
relatively to area of tactics effect?
I.e. I want to develop tactic which is possible to use either in goal
or some hypothesis (or both).
E.g. such tactic
Ltac do_work :=
...
rewrite some_eq (* in H *)
... .
which I want to use such way:
...
do_work; do_work in H
(* bonus: *) do_work in H, <goal>.
Sincerely,
Kirill Taran
Kirill Taran
- [Coq-Club] target polymorphic tactics, Kirill Taran, 08/18/2014
- Re: [Coq-Club] target polymorphic tactics, Jason Gross, 08/18/2014
- Re: [Coq-Club] target polymorphic tactics, Ilya Sergey, 08/18/2014
Archive powered by MHonArc 2.6.18.