diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2018-06-22 23:49:19 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2018-06-22 23:49:19 +0200 |
commit | ffa99eed82b884645787b7a993017aa4c17010a9 (patch) | |
tree | 4da68b95326ae0e6e892173805424c93a46a2f04 /kernel/esubst.mli | |
parent | 1750982027f5465c8f7c10af44e4f3674edc1ecd (diff) | |
parent | 9953fc3c125d0bdd39e3bd5801040f406f2e708f (diff) |
Merge PR #7600: Faster and cleaner fconstr-to-constr conversion function.
Diffstat (limited to 'kernel/esubst.mli')
-rw-r--r-- | kernel/esubst.mli | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/esubst.mli b/kernel/esubst.mli index a674c425a..475b64f47 100644 --- a/kernel/esubst.mli +++ b/kernel/esubst.mli @@ -72,3 +72,10 @@ val el_liftn : int -> lift -> lift val el_lift : lift -> lift val reloc_rel : int -> lift -> int val is_lift_id : lift -> bool + +(** Lift applied to substitution: [lift_subst mk_clos el s] computes a + substitution equivalent to applying el then s. Argument + mk_clos is used when a closure has to be created, i.e. when + el is applied on an element of s. +*) +val lift_subst : (lift -> 'a -> 'b) -> lift -> 'a subs -> 'b subs |