Skip to Content.
Sympa Menu

coq-club - [Coq-Club] using and writing modules

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] using and writing modules


Chronological Thread 
  • From: Christopher Ernest Sally <christopherernestsally AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] using and writing modules
  • Date: Mon, 9 Dec 2013 05:14:34 +0800

Hi all
I have been struggling with the module system for a while now. I have read the cocorico tutorial but still don't quite understand how one would use (for example) the MSets interface to get a set of nats (meaning I can't figured out how to build the module showing nats are ordered and then pass it to a functor. I am also not sure which module/module type is the functor here. I tried to make a module "Module NatIsOrdered <: OrderedType."  but couldn't. But perhaps that is a different problem.) *

Are there any other resources for getting started on modules? I have tried looking, but can't seem to find any.

Thanks in advance

Best
Chris

* - If someone could show this I would be much obliged.



Archive powered by MHonArc 2.6.18.

Top of Page