diff options
| author | Matthieu Sozeau | 2017-07-24 15:09:33 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2018-06-15 11:56:52 +0200 |
| commit | 994f869496b3edd76a903cac16b13e8b6f247d63 (patch) | |
| tree | b2bf14d15f2faf8df7a5c6a81be7e55c76248982 /engine/evd.mli | |
| parent | 31e13998542941040343cb81787a1d7c865d5b65 (diff) | |
evd/evarutil: safe [add_unification_pb] interface, taking EConstr's
Avoid adding the same unification problem twice, module evar instantiation.
Diffstat (limited to 'engine/evd.mli')
| -rw-r--r-- | engine/evd.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/evd.mli b/engine/evd.mli index c40e925d81..4f2ece900b 100644 --- a/engine/evd.mli +++ b/engine/evd.mli @@ -439,7 +439,11 @@ type clbinding = (** Unification constraints *) type conv_pb = Reduction.conv_pb type evar_constraint = conv_pb * env * econstr * econstr + +(** The following two functions are for internal use only, + see [Evarutil.add_unification_pb] for a safe interface. *) val add_conv_pb : ?tail:bool -> evar_constraint -> evar_map -> evar_map +val conv_pbs : evar_map -> evar_constraint list val extract_changed_conv_pbs : evar_map -> (Evar.Set.t -> evar_constraint -> bool) -> |
