summaryrefslogtreecommitdiff
path: root/kernel/mod_typing.mli
blob: 706c617cdcd8cbaf76efae2cedf411e833e330d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(*i $Id: mod_typing.mli 6621 2005-01-21 17:24:37Z herbelin $ i*)

(*i*)
open Declarations
open Environ
open Entries
(*i*)


val translate_modtype : env -> module_type_entry -> module_type_body

val translate_module : env -> module_entry -> module_body

val translate_mexpr : env -> module_expr -> module_expr_body * module_type_body

val add_modtype_constraints : env -> module_type_body -> env

val add_module_constraints : env -> module_body -> env