aboutsummaryrefslogtreecommitdiff
path: root/kernel/section.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-10-04 17:55:25 +0200
committerPierre-Marie Pédrot2019-10-04 17:55:25 +0200
commita8ab4cc9bfa9d31ac08b0ae3e3f318578ce50e2a (patch)
tree2040f56dd268a35db0aecf9d98470f42303237a4 /kernel/section.mli
parent87c17a6871ef4c21ff86a050297d33738c5a870a (diff)
parent994edaf989c0232b5c7de70a2f8ccb46c557da95 (diff)
Merge PR #10798: Loosen restrictions on mixing universe mono/polymorphism in sections
Reviewed-by: ppedrot
Diffstat (limited to 'kernel/section.mli')
-rw-r--r--kernel/section.mli5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/section.mli b/kernel/section.mli
index c1026a2980..fc3ac141e4 100644
--- a/kernel/section.mli
+++ b/kernel/section.mli
@@ -21,16 +21,13 @@ val empty : 'a t
val is_empty : 'a t -> bool
(** Checks whether there is no opened section *)
-val is_polymorphic : 'a t -> bool
-(** Checks whether last opened section is polymorphic *)
-
(** {6 Manipulating sections} *)
type section_entry =
| SecDefinition of Constant.t
| SecInductive of MutInd.t
-val open_section : poly:bool -> custom:'a -> 'a t -> 'a t
+val open_section : custom:'a -> 'a t -> 'a t
(** Open a new section with the provided universe polymorphic status. Sections
can be nested, with the proviso that polymorphic sections cannot appear
inside a monomorphic one. A custom data can be attached to this section,