aboutsummaryrefslogtreecommitdiff
path: root/kernel/safe_typing.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-05-17 15:58:05 +0200
committerPierre-Marie Pédrot2019-09-25 22:14:34 +0200
commit24eccfc6dfec012da081a0891c397f013cc590e5 (patch)
tree2149f64a0aac6694977bfbb35b0f79c61c00dd7e /kernel/safe_typing.mli
parent4838fd47542018ba61cd096c93edf45b7ef68529 (diff)
Stub code for handling sections in kernel.
For now we only keep a count of the number of open sections, discriminating between polymorphic and monomorphic ones.
Diffstat (limited to 'kernel/safe_typing.mli')
-rw-r--r--kernel/safe_typing.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/safe_typing.mli b/kernel/safe_typing.mli
index fa53fa33fa..4eef43b193 100644
--- a/kernel/safe_typing.mli
+++ b/kernel/safe_typing.mli
@@ -140,6 +140,12 @@ val set_allow_sprop : bool -> safe_transformer0
val check_engagement : Environ.env -> Declarations.set_predicativity -> unit
+(** {6 Interactive section functions } *)
+
+val open_section : poly:bool -> safe_transformer0
+
+val close_section : safe_transformer0
+
(** {6 Interactive module functions } *)
val start_module : Label.t -> ModPath.t safe_transformer