aboutsummaryrefslogtreecommitdiff
path: root/kernel/univ.mli
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-11-12 12:55:46 +0100
committerGaëtan Gilbert2018-12-05 13:20:58 +0100
commit470943bdf917caf352b5347c8d33fc39699805b0 (patch)
tree02407cc74a5ffe2aa184ebcddb4ea6ab2ea1f920 /kernel/univ.mli
parent23f2222bb2c97110b6e55835fd19528177e41ff3 (diff)
Fix mod_subst wrt universe polymorphism
Diffstat (limited to 'kernel/univ.mli')
-rw-r--r--kernel/univ.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/univ.mli b/kernel/univ.mli
index de7b334ae4..760ccbab04 100644
--- a/kernel/univ.mli
+++ b/kernel/univ.mli
@@ -349,6 +349,14 @@ sig
end
+type 'a univ_abstracted = {
+ univ_abstracted_value : 'a;
+ univ_abstracted_binder : AUContext.t;
+}
+(** A value with bound universe levels. *)
+
+val map_univ_abstracted : ('a -> 'b) -> 'a univ_abstracted -> 'b univ_abstracted
+
(** Universe info for cumulative inductive types: A context of
universe levels with universe constraints, representing local
universe variables and constraints, together with an array of