Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Problem with scopes

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Problem with scopes


Chronological Thread 
  • From: Ralf Jung <jung AT mpi-sws.org>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Problem with scopes
  • Date: Wed, 24 Aug 2016 13:07:10 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
  • Ironport-phdr: 9a23:jNOrSxfkYA3J1wqmbrsrL4mIlGMj4u6mDksu8pMizoh2WeGdxc6+Yx7h7PlgxGXEQZ/co6odzbGH6ua7Bydbvd7B6ClEK80UEUddyI0/pE8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUrDbg8n/7e2u4ZqbO1wO32vkJ+gsZ07q5UWJ749N0NMkcv5wgjLy4VJwM9xMwm1pIV/B1z3d3eyXuKBZziJLpvg6/NRBW6ipN44xTLhfESh0ezttvJ6j5lH/Sl6E4WJZWWELmDJJBRLE5Vf0RMTfqCz/49B03CfSH9DwQvhgWymk4I9uUB6tkzgccTkj/zeE2YRLkKtHrUf59FREyInObdTNOQ==

Hi,

> The current behavior is more or less to select the most recent notation.
> In particular, if there is a notation in the current file, it will take
> precedence over notations defined in other files. It seems about as
> intuitive to me as what you suggest.

I think that may explain a lot of the trouble we have been having with
notation. It frequently happens that printing notations just fails
(i.e., it will not use the notation we want it to use for printing), and
then we will typically randomly reorder the imports at the top of the
file until it works again. Depending on the order of imports
(transitively!) like this is very frustrating, and also very hard to debug.

I guess at some point we have to try and come up with a reduced example...

Kind regards,
Ralf



Archive powered by MHonArc 2.6.18.

Top of Page