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: "John Wiegley" <johnw AT newartisans.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Overload Definitions
  • Date: Sun, 02 Nov 2014 14:23:27 -0600
  • Organization: New Artisans LLC

>>>>> CHAUVIN Barnabe
>>>>> <barnabe.chauvin AT gmail.com>
>>>>> writes:

> 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.

If you're into some reading, this could be of interest too:

http://www.mpi-sws.org/~beta/lessadhoc/

It's a slightly different approach than type classes, but aims to achieve
something similar (at least, that's how I read it, perhaps others can help
clarify).

John



Archive powered by MHonArc 2.6.18.

Top of Page