diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-02-11 16:54:05 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-02-11 16:54:05 +0000 |
commit | 1e1bc1952499bf3528810f2b3e6efad76ab843d0 (patch) | |
tree | 7a0244e8ca2b6d24d1cc8db72890999e6d005448 /kernel/mod_typing.mli | |
parent | cb14f24943415cce8fcbf36cb7cdd87d27c60628 (diff) |
Mod_typing: some refactoring (common parts about MSEapply and co)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13838 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/mod_typing.mli')
-rw-r--r-- | kernel/mod_typing.mli | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/kernel/mod_typing.mli b/kernel/mod_typing.mli index 81974edfa..0987ca5b6 100644 --- a/kernel/mod_typing.mli +++ b/kernel/mod_typing.mli @@ -13,20 +13,32 @@ open Mod_subst open Names -val translate_module : env -> module_path -> inline -> module_entry - -> module_body - -val translate_module_type : env -> module_path -> inline -> module_struct_entry -> - module_type_body - -val translate_struct_module_entry : env -> module_path -> inline -> module_struct_entry -> - struct_expr_body * struct_expr_body * delta_resolver * Univ.constraints - -val translate_struct_type_entry : env -> inline -> module_struct_entry -> - struct_expr_body * struct_expr_body option * delta_resolver * module_path * Univ.constraints - -val translate_struct_include_module_entry : env -> module_path -> inline -> - module_struct_entry -> struct_expr_body * delta_resolver * Univ.constraints +val translate_module : + env -> module_path -> inline -> module_entry -> module_body + +val translate_module_type : + env -> module_path -> inline -> module_struct_entry -> module_type_body + +val translate_struct_module_entry : + env -> module_path -> inline -> module_struct_entry -> + struct_expr_body (* Signature *) + * struct_expr_body option (* Algebraic expr, in fact never None *) + * delta_resolver + * Univ.constraints + +val translate_struct_type_entry : + env -> inline -> module_struct_entry -> + struct_expr_body + * struct_expr_body option + * delta_resolver + * Univ.constraints + +val translate_struct_include_module_entry : + env -> module_path -> inline -> module_struct_entry -> + struct_expr_body + * struct_expr_body option (* Algebraic expr, always None *) + * delta_resolver + * Univ.constraints val add_modtype_constraints : env -> module_type_body -> env |