From f6613489304a30846af28334c040c7d4f9e4addc Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Tue, 8 Jan 2019 15:57:27 +0100 Subject: Restrict universes in records. Fix #8076. --- kernel/context.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/context.mli') diff --git a/kernel/context.mli b/kernel/context.mli index 2b0d36cb8c..8acae73680 100644 --- a/kernel/context.mli +++ b/kernel/context.mli @@ -78,6 +78,9 @@ sig (** Map all terms in a given declaration. *) val map_constr : ('c -> 'c) -> ('c, 'c) pt -> ('c, 'c) pt + (** Map all terms, with an heterogeneous function. *) + val map_constr_het : ('a -> 'b) -> ('a, 'a) pt -> ('b, 'b) pt + (** Perform a given action on all terms in a given declaration. *) val iter_constr : ('c -> unit) -> ('c, 'c) pt -> unit -- cgit v1.2.3