From 12c61c7ab522ea58bf8c5692de7130e124a2cc0a Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Thu, 20 Nov 2014 20:33:27 +0100 Subject: Exporting the function handling side-effects only applied to terms. --- kernel/term_typing.mli | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'kernel/term_typing.mli') diff --git a/kernel/term_typing.mli b/kernel/term_typing.mli index 8be1c76e0..a699bce38 100644 --- a/kernel/term_typing.mli +++ b/kernel/term_typing.mli @@ -20,10 +20,14 @@ val translate_local_assum : env -> types -> types val mk_pure_proof : constr -> proof_output -(* returns the same definition_entry but with side effects turned into - * let-ins or beta redexes. it is meant to get a term out of a not yet - * type checked proof *) -val handle_side_effects : env -> definition_entry -> definition_entry +val handle_side_effects : env -> constr -> Declareops.side_effects -> constr +(** Returns the term where side effects have been turned into let-ins or beta + redexes. *) + +val handle_entry_side_effects : env -> definition_entry -> definition_entry +(** Same as {!handle_side_effects} but applied to entries. Only modifies the + {!Entries.const_entry_body} field. It is meant to get a term out of a not + yet type checked proof. *) val translate_constant : env -> constant -> constant_entry -> constant_body -- cgit v1.2.3