Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Apply without TC inference

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Apply without TC inference


Chronological Thread 
  • From: Jonathan Leivent <jonikelee AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Apply without TC inference
  • Date: Wed, 27 Jul 2016 16:08:17 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f196.google.com
  • Ironport-phdr: 9a23:BzuMZB8DmZQB8f9uRHKM819IXTAuvvDOBiVQ1KB90O8cTK2v8tzYMVDF4r011RmSDN2dta8P0rGH+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2WVTerzWI4CIIHV2nbEwud7yzRNOZ1p/mn8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM85fxGdvOE7B102kvpT4r9Zf9HFbvOtk/MpdW437eb45RPpWFmcIKWcwse/ssxDfTQKJrl8RU3sblAYAVwrC6hD5U5P8vwP1s+N83G+ROsigHuN8Yiir86o+EEygsywALTNsqGw=



On 07/27/2016 04:00 PM, Clément Pit--Claudel wrote:
On 2016-07-27 15:06, Robbert Krebbers wrote:
On 07/27/2016 09:04 PM, Jonathan Leivent wrote:
On 07/27/2016 02:59 PM, Matthieu Sozeau wrote:
.. Maybe a
modifier like unshelve would be more suited.
+1
And my +2!
Are we slowly rediscovering dynamically scoped variables? :) In Lisp, one
would write something like this:

(let ((unshelve t)
(tc-resolution nil))
(apply <some-theorem>))

And the implementation of 'apply' would obey 'unshelve' and 'tc-resolution'
(and probably many other settings, such as whether to print debugging
information). Maybe a unified mechanism like this would be nice to have in
ltac 2.0? It would allow tactic writers to make their own tactics
customizable, without resorting to opacity-based tricks.

Cheers,
Clément.


+1

I recommended something like this to Hugo in a comment on a pr recently. Even for things like various Set/Unset commands.

-- Jonathan






Archive powered by MHonArc 2.6.18.

Top of Page