coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: David Pichardie <david.pichardie AT irisa.fr>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] Module in Coq : what about include ?
- Date: Wed, 01 Dec 2004 16:09:47 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi,
Is there a simple way in Coq to simulate the ocaml include command ?
The only solution, I found for the moment is to copy all definitions.
Example :
Module Type SIG.
Parameter A : Set.
Parameter a1 a2 : A.
End SIG.
Module F (M:SIG) <: SIG.
Definition A := M.A. (************************)
Definition a1 := M.a1. (* instead of include M *)
Definition a2 := M.a2. (************************)
(* ... *)
End F.
- [Coq-Club] Module in Coq : what about include ?, David Pichardie
Archive powered by MhonArc 2.6.16.