Skip to Content.
Sympa Menu

coq-club - [Coq-Club] third for of "binder" in Gallina grammar

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] third for of "binder" in Gallina grammar


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] third for of "binder" in Gallina grammar
  • Date: Wed, 9 Oct 2013 23:25:19 -0700

term ::=
  | forall binders, term
  | fun binders => term
  | ...
  | let ident [binders] [: term] := term in term
  | ...

binders ::= binder ... binder

binder ::=
  | name
  | ( name ... name : term )
  | ( name [: term] := term) *****

Now, what I don't understand is when *** is ever used.

When I'm using it from "let", the [: term] := term provides the "definition."
When I'm using from "forall", at most I use (x: A) (y: B) ... but no need for ":="
Similarly, when using "binders", I also use (x: A) (y: B) ... but no need for ":="

Thus, my question: when is the "****" form of binder ever used?

Thanks!



Archive powered by MHonArc 2.6.18.

Top of Page