Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Dealing with Coq modules in OCaml

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Dealing with Coq modules in OCaml


chronological Thread 
  • From: David Pereira <dpereira AT liacc.up.pt>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Dealing with Coq modules in OCaml
  • Date: Fri, 17 Dec 2010 22:10:15 +0000

Dear all,

I am not sure if this list is the better place to ask questions about tactic 
implementation in Ocaml, but I would like to learn how one can have access to 
the fields of Coq's parameterized modules, and to module types.

For instance, suppose we have the following Coq code:

<<<
Module Type mt.
        
        Parameter t : Type.

End mt.

Module MT(m:mt).
        
        Import m.

        Inductive mt_ind : Type :=
        |mt0 : m.t -> mt_ind.
        
End MT.
>>>

In this case, how can I have access to [t] in the case of the module type 
[mt], and to the inductive type [mt_ind] ? 

Best regards,
        David Pereira.







Archive powered by MhonArc 2.6.16.

Top of Page