Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Partially applied types and sort-polymorphism

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Partially applied types and sort-polymorphism


Chronological Thread 
  • From: Adam Chlipala <adamc AT csail.mit.edu>
  • To: Jason Gross <jasongross9 AT gmail.com>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Partially applied types and sort-polymorphism
  • Date: Fri, 03 Aug 2012 08:20:58 -0400

Jason Gross wrote:
For example, it would be nice if I could not have to say that a natural transformation was of type
NaturalTransformation : forall objC homC (C : @Category objC homC) objD homD (D : @Category objD homD), @Functor objC homC C objD homD D -> @Functor objC homC C objD homD D -> Type
and instead say that a NaturalTransformation was of type
NaturalTransformation : forall (C : @Category _ _) (D : @Category _ _), @Functor C D -> @Functor C D -> Type

Why not define a new [->]-like operator that does the quantification in its definition? Basically, the game is to abstract out common quantification patterns into operators.



Archive powered by MHonArc 2.6.18.

Top of Page