Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Module Parameters

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Module Parameters


chronological Thread 
  • From: "Joseph N. Ruskiewicz" <joseph.ruskiewicz AT inf.ethz.ch>
  • To: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club] Module Parameters
  • Date: Thu, 18 Mar 2004 09:59:01 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
  • Organization: ETH Zentrum

Hello Coq Club:
I have been working with modules and have noticed that to declare a new Module with parameters, they must be of type of Module.

   Is it not possible to declare a type of say, nat, for a parameter?

   I have played with:

   Module N.
   Parameter x:nat.
   End.

But, that is just declaring x to be an Axiom of the Module.

I would like to be able to use the Module and give it parameters of basic types (Z,R,Bool).

Any wisdom?

Thank you again,

Joseph




Archive powered by MhonArc 2.6.16.

Top of Page