diff options
author | 2015-01-25 14:43:16 +0100 | |
---|---|---|
committer | 2015-01-25 14:43:16 +0100 | |
commit | f219abfed720305c13875c3c63f9240cf63f78bc (patch) | |
tree | 69d2c026916128fdb50b8d1c0dbf1be451340d30 /kernel/cooking.mli | |
parent | 476d60ef0fe0ac015c1e902204cdd7029e10ef0f (diff) | |
parent | cec4741afacd2e80894232850eaf9f9c0e45d6d7 (diff) |
Merge tag 'upstream/8.5_beta1+dfsg'
Upstream version 8.5~beta1+dfsg
Diffstat (limited to 'kernel/cooking.mli')
-rw-r--r-- | kernel/cooking.mli | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/kernel/cooking.mli b/kernel/cooking.mli index a5141568..441c9dd2 100644 --- a/kernel/cooking.mli +++ b/kernel/cooking.mli @@ -1,36 +1,30 @@ (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) -(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2014 *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2015 *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -open Names open Term open Declarations open Environ -open Univ (** {6 Cooking the constants. } *) -type work_list = identifier array Cmap.t * identifier array Mindmap.t +type recipe = { from : constant_body; info : Opaqueproof.cooking_info } -type recipe = { - d_from : constant_body; - d_abstract : Sign.named_context; - d_modlist : work_list } +type inline = bool -val cook_constant : - env -> recipe -> - constant_def * constant_type * constraints * Sign.section_context +type result = + constant_def * constant_type * projection_body option * + bool * constant_universes * inline + * Context.section_context option +val cook_constant : env -> recipe -> result +val cook_constr : Opaqueproof.cooking_info -> Term.constr -> Term.constr (** {6 Utility functions used in module [Discharge]. } *) -val expmod_constr : work_list -> constr -> constr - -val clear_cooking_sharing : unit -> unit - - +val expmod_constr : Opaqueproof.work_list -> constr -> constr |