From 7386d0718f8c1e6fb47eea787d4287338f9e7060 Mon Sep 17 00:00:00 2001 From: letouzey Date: Tue, 17 May 2011 17:30:55 +0000 Subject: Modops: the strengthening functions can work without any env argument The env was used for a particular case of Cbytegen.compile_constant_body, but we can actually guess that it will answer a particular BCallias con. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14134 85f007b7-540e-0410-9357-904b9bb8a0f7 --- checker/modops.mli | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'checker/modops.mli') diff --git a/checker/modops.mli b/checker/modops.mli index b0bc0ee7f..5ed7b0ce2 100644 --- a/checker/modops.mli +++ b/checker/modops.mli @@ -20,7 +20,7 @@ open Environ (* make the envirconment entry out of type *) val module_body_of_type : module_path -> module_type_body -> module_body -val module_type_of_module : env -> module_path option -> module_body -> +val module_type_of_module : module_path option -> module_body -> module_type_body val destr_functor : @@ -31,9 +31,9 @@ val add_signature : module_path -> structure_body -> delta_resolver -> env -> en (* adds a module and its components, but not the constraints *) val add_module : module_body -> env -> env -val strengthen : env -> module_type_body -> module_path -> module_type_body +val strengthen : module_type_body -> module_path -> module_type_body -val subst_and_strengthen : module_body -> module_path -> env -> module_body +val subst_and_strengthen : module_body -> module_path -> module_body val error_incompatible_modtypes : module_type_body -> module_type_body -> 'a -- cgit v1.2.3