Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Easy question re: implicit parameters

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Easy question re: implicit parameters


Chronological Thread 
  • From: Guillaume Melquiond <guillaume.melquiond AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Easy question re: implicit parameters
  • Date: Fri, 15 Sep 2017 23:04:28 +0200

On 15/09/2017 22:43, Guillaume Melquiond wrote:
> Arguments sig (A P)%type.
> Arguments sig2 (A P Q)%type.
>
> That said, I don't understand why P and Q are forced into type_scope.
> This does not make sense to me. They should have been left in
> function_scope.

Scrap that. I had forgotten that type_scope not only contains the type
constructors, but also the logical connectives, so it makes lot of sense.

In fact, I now wonder if having Coq assigns the function_scope scope by
default is useful in practice. Assigning the scope corresponding to the
result type (assuming there is one) might be a more useful default behavior.

Best regards,

Guillaume



Archive powered by MHonArc 2.6.18.

Top of Page