Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Overload Definitions

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Overload Definitions


Chronological Thread 
  • From: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Overload Definitions
  • Date: Sun, 2 Nov 2014 10:36:41 -0500

You can use the type class mechanism to achieve something quite close.
Reading chapter 2 of the following tutorial might be a good way to start.
http://www.labri.fr/perso/casteran/CoqArt/TypeClassesTut/typeclassestut.pdf


On Sun, Nov 2, 2014 at 10:09 AM, CHAUVIN Barnabe <barnabe.chauvin AT gmail.com> wrote:
Hello :),

Is there a workaround to overload Defintion (like in C++ for example). I mean, have two definitions with the same name, but with different parameters types.

Thanks




Archive powered by MHonArc 2.6.18.

Top of Page