aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/univ.ml2
-rw-r--r--kernel/univ.mli1
2 files changed, 3 insertions, 0 deletions
diff --git a/kernel/univ.ml b/kernel/univ.ml
index 93a91af1d7..d7c0cf13ec 100644
--- a/kernel/univ.ml
+++ b/kernel/univ.ml
@@ -1034,6 +1034,8 @@ module ACumulativityInfo =
struct
type t = AUContext.t * Variance.t array
+ let repr (auctx,var) = AUContext.repr auctx, var
+
let pr prl (univs, variance) =
AUContext.pr prl ~variance univs
diff --git a/kernel/univ.mli b/kernel/univ.mli
index 8327ff1644..d7097be570 100644
--- a/kernel/univ.mli
+++ b/kernel/univ.mli
@@ -400,6 +400,7 @@ module ACumulativityInfo :
sig
type t
+ val repr : t -> CumulativityInfo.t
val univ_context : t -> AUContext.t
val variance : t -> Variance.t array
val leq_constraints : t -> Instance.t constraint_function