diff options
| author | Pierre-Marie Pédrot | 2020-01-19 18:48:03 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-01-19 18:48:03 +0100 |
| commit | 3fc470fb3cab7899e372e842a21a4691812ad25a (patch) | |
| tree | 7a6e5dd8b0014db4f9548f1068b886bc6532e406 /kernel/section.mli | |
| parent | 927c683116c17a4746afdc4000ba2015591d3ba2 (diff) | |
| parent | 73c3b874633d6f6f8af831d4a37d0c1ae52575bc (diff) | |
Merge PR #11348: Discharge inductive types without rechecking them
Ack-by: maximedenes
Reviewed-by: ppedrot
Diffstat (limited to 'kernel/section.mli')
| -rw-r--r-- | kernel/section.mli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/section.mli b/kernel/section.mli index fbd3d8254e..37d0dab317 100644 --- a/kernel/section.mli +++ b/kernel/section.mli @@ -57,6 +57,14 @@ val push_inductive : poly:bool -> MutInd.t -> 'a t -> 'a t (** {6 Retrieving section data} *) +val all_poly_univs : 'a t -> Univ.Level.t array +(** Returns all polymorphic universes, including those from previous + sections. Earlier sections are earlier in the array. + + NB: even if the array is empty there may be polymorphic + constraints about monomorphic universes, which prevent declaring + monomorphic globals. *) + type abstr_info = private { abstr_ctx : Constr.named_context; (** Section variables of this prefix *) |
