coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Guillaume Dufay <Guillaume.Dufay AT sophia.inria.fr>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] Modules Types and functors.
- Date: Wed, 19 Feb 2003 11:44:48 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
- Organization: INRIA Sophia-Antipolis
Hello,
We start playing with modules and we face the following problem. Assuming we have two modules types declaration, whose one is functor type :
Module Type foo.
Parameter a:Set.
End foo.
Module Type bar [f:foo].
Import f.
Parameter b:a.
End bar.
How do I declare a module of type bar?
We tried the following declaration but without success.
Module imp [f:foo] : (bar f).
Any idea?
Best regards.
--
Guillaume
- [Coq-Club] Modules Types and functors., Guillaume Dufay
- Re: [Coq-Club] Modules Types and functors., Jacek Chrzaszcz
Archive powered by MhonArc 2.6.16.