aboutsummaryrefslogtreecommitdiff
path: root/pretyping/evarconv.mli
diff options
context:
space:
mode:
authorMatthieu Sozeau2018-10-18 13:21:02 +0200
committerMatthieu Sozeau2019-02-08 11:20:07 +0100
commite07fcc19cf8459ce2ae87d9ccbbc7806a0be576f (patch)
tree46c2c0d8fd9c94e6b4c2d313ffea978c5fc26a48 /pretyping/evarconv.mli
parente3178fb2de9a84bbcdc90a60cd8f27cd1323eb36 (diff)
Add back the deprecated conv/cumul functions.
Diffstat (limited to 'pretyping/evarconv.mli')
-rw-r--r--pretyping/evarconv.mli9
1 files changed, 9 insertions, 0 deletions
diff --git a/pretyping/evarconv.mli b/pretyping/evarconv.mli
index 0418b352fe..2c4a2f144e 100644
--- a/pretyping/evarconv.mli
+++ b/pretyping/evarconv.mli
@@ -35,6 +35,9 @@ exception UnableToUnify of evar_map * Pretype_errors.unification_error
heuristics ([unify]). *)
(** Theses functions allow to pass arbitrary flags to the unifier and can delay constraints.
+ In case the flags are not specified, they default to
+ [default_flags_of full_transparent_state] currently.
+
In case of success, the two terms are hence unifiable only if the remaining constraints
can be solved or [check_problems_are_solved] is true.
@@ -48,6 +51,12 @@ val the_conv_x : env -> ?ts:TransparentState.t -> constr -> constr -> evar_m
[@@ocaml.deprecated "Use Evarconv.unify_delay instead"]
val the_conv_x_leq : env -> ?ts:TransparentState.t -> constr -> constr -> evar_map -> evar_map
[@@ocaml.deprecated "Use Evarconv.unify_leq_delay instead"]
+(** The same function resolving evars by side-effect and
+ catching the exception *)
+val conv : env -> ?ts:transparent_state -> evar_map -> constr -> constr -> evar_map option
+[@@ocaml.deprecated "Use Evarconv.unify_delay instead"]
+val cumul : env -> ?ts:transparent_state -> evar_map -> constr -> constr -> evar_map option
+[@@ocaml.deprecated "Use Evarconv.unify_leq_delay instead"]
(** This function also calls [solve_unif_constraints_with_heuristics] to resolve any remaining
constraints. In case of success the two terms are unified without condition.