Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Syntax for paraneterized Type Class instances

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Syntax for paraneterized Type Class instances


Chronological Thread 
  • From: <michael.soegtrop AT intel.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Syntax for paraneterized Type Class instances
  • Date: Tue, 16 Dec 2014 11:08:49 +0100

Dear Coq Users,

I don't understand the syntax given in chapter 19.3 of the reference manual:

Instance prod_eqb ‘(EA : EqDec A, EB : EqDec B) : EqDec (A * B)

What is the meaning of the prime here? Is this an abbreviation for this:

Instance prod_eqb {A B : Type} (EA : EqDec A) (EB : EqDec B) : EqDec (A * B)

Also I have problems to make Coq parse the syntax given in the manual with all
3 prime variants on my keyboard (`'´) and the prime used in the manual (‘).
Is there a description for this syntax in the reference manual?

Thanks & Best regards,

Michael



Archive powered by MHonArc 2.6.18.

Top of Page