coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Scott Lawrence <srl AT umd.edu>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Type Classes and Module Types
- Date: Wed, 27 May 2015 15:50:27 -0400 (EDT)
Hi all,
Many of the same things can be done via `Module Type` and `Module` as with `Class` and `Instance`. Are there any good rules of thumb for when to use which? For example, either could be used to define VectorSpace < NormedVectorSpace < BanachSpace -- is there a reason to pick one over the other?
(Somewhat pettily, I find the syntax resulting from using the module system to be far cleaner. I also note that the documentation declares type classes to be very experimental.)
Thanks,
--
Scott Lawrence
- [Coq-Club] Type Classes and Module Types, Scott Lawrence, 05/27/2015
- RE: [Coq-Club] Type Classes and Module Types, Soegtrop, Michael, 05/28/2015
- Re: [Coq-Club] Type Classes and Module Types, Cedric Auger, 05/28/2015
- Re: [Coq-Club] Type Classes and Module Types, Scott Lawrence, 05/28/2015
- Re: [Coq-Club] Type Classes and Module Types, Cedric Auger, 05/28/2015
- RE: [Coq-Club] Type Classes and Module Types, Soegtrop, Michael, 05/28/2015
Archive powered by MHonArc 2.6.18.