aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/safe_typing.mli
diff options
context:
space:
mode:
authorGravatar Arnaud Spiwack <arnaud@spiwack.net>2015-07-24 08:46:09 +0200
committerGravatar Arnaud Spiwack <arnaud@spiwack.net>2015-09-25 10:41:41 +0200
commite8bad8abc7be351a34fdf9770409bbab14bcd6a9 (patch)
tree00ca0103024f39e5943dcce5a89e9283708ae323 /kernel/safe_typing.mli
parent8f64e84a3560bcf668b00ac93ab33542456a9bda (diff)
Propagate `Guarded` flag from syntax to kernel.
The path is quite a bit of a maze, this commit is not as simple as it ought to be. Something more robust than a boolean should be used here.
Diffstat (limited to 'kernel/safe_typing.mli')
-rw-r--r--kernel/safe_typing.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/safe_typing.mli b/kernel/safe_typing.mli
index a57fb108c..80b9bb495 100644
--- a/kernel/safe_typing.mli
+++ b/kernel/safe_typing.mli
@@ -57,14 +57,16 @@ val is_joined_environment : safe_environment -> bool
(** Insertion of local declarations (Local or Variables) *)
val push_named_assum :
+ chkguard:bool ->
(Id.t * Term.types) Univ.in_universe_context_set -> safe_transformer0
val push_named_def :
+ chkguard:bool ->
Id.t * Entries.definition_entry -> safe_transformer0
(** Insertion of global axioms or definitions *)
type global_declaration =
- | ConstantEntry of Entries.constant_entry
+ | ConstantEntry of Entries.constant_entry * bool (* chkguard *)
| GlobalRecipe of Cooking.recipe
val add_constant :