Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Specifying fields of a base class?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Specifying fields of a base class?


chronological Thread 
  • From: Andrej Bauer <andrej.bauer AT andrej.com>
  • To: Coq <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Specifying fields of a base class?
  • Date: Tue, 15 Nov 2011 10:24:26 +0100

On Tue, Nov 15, 2011 at 8:13 AM, Vincent Siles
<vincent.siles AT ens-lyon.org>
 wrote:
> I already explained to you that these classes are not the same the
> classes you can find in object oriented programming like Java or C++.

Let me try.

Dear Victor, in Coq CLASSES ARE NOT LIKE JAVA AND C++ CLASSES. THEY
ARE LIKE HASKELL CLASSES, WHICH ARE NOT LIKE JAVA OR  C++ CLASSES.
Perhaps this will help:

http://www.haskell.org/haskellwiki/OOP_vs_type_classes

With kind regards,

Andrej



Archive powered by MhonArc 2.6.16.

Top of Page