Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] about Tactic Notation: a variant of apply ... with ...

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] about Tactic Notation: a variant of apply ... with ...


chronological Thread 
  • From: AUGER Cedric <Cedric.Auger AT lri.fr>
  • Cc: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] about Tactic Notation: a variant of apply ... with ...
  • Date: Wed, 21 Jul 2010 14:43:38 +0200

I should have read the documentation before replying, the simplest way
to do what you wanted seemed to be:

Tactic Notation "sapply" constr(H) "with" constr_list(list) :=
simpl; apply  H with list.

I tried it, it is recognized, but I didn't tested it.
But if you need to preprocess your list using custom tactics, it won't
work.

I also tried Arthur workaround some time ago, it worked, but it is
not very pretty to see, and using coq structures at tactical language
is not very clean as you use tokens of a language in a meta-language
over the one of where your tokens are…




Archive powered by MhonArc 2.6.16.

Top of Page