Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Coq 8.6 change poll

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Coq 8.6 change poll


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Coq 8.6 change poll
  • Date: Tue, 31 May 2016 11:33:25 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-oi0-f48.google.com
  • Ironport-phdr: 9a23:X4OP9BApf86GpncMT9ccUyQJP3N1i/DPJgcQr6AfoPdwSP7/oMbcNUDSrc9gkEXOFd2CrakU2qyL7uuwCSQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTmkb3vsM2DKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxeL19RrhFBnxyOGcsocbvqBPrTA2V53JaXH9AwTRSBA2QzhjhWZG5nTH9rfE1jCuTJsrwQqozQi/zx6huQR7sziwAMmhqoynslsVsgfcD81qarBtlztuMbQ==

I frequently find myself writing
  match constr:Set with
    | _ => constr:(...)
    | _ => constr:(...)
  end
to get backtracking on type errors in constr-producing-Ltac, and then later changing it to constr:(Set) when the continuous integration fails to build it on trunk.  It's not a big pain to translate, but it might be nice to have a forward-compatibility script that I could run on my developments to make such forward-compatible-ensuring changes (and it would catch things like this, and maybe more complicated things too, if there are other such changes, e.g., it would have added [Require Import Coq.omega.Omega.] in the 8.4 -> 8.5 transition to files that needed it)

On Tue, May 31, 2016 at 11:27 AM, Jonathan Leivent <jonikelee AT gmail.com> wrote:


On 05/31/2016 11:05 AM, Pierre-Marie Pédrot wrote:
... Likewise, for reasons I am not really sure to understand, it
forces you to write the ugly

constr:((x, y))

when parsing pairs.

On closer inspection, I found one instance of "constr:(x, y)".  But just one, no big deal.

An important question is - when 8.6 tries to parse a badly formed constr: such as "constr:(x, y)", what will the error message say?

-- Jonathan





Archive powered by MHonArc 2.6.18.

Top of Page