diff options
| author | Maxime Dénès | 2019-01-17 10:51:54 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2019-01-21 10:26:04 +0100 |
| commit | 10a9c492a486fcb884ffeadd1d05ecb0fae90d0f (patch) | |
| tree | 17b373d5d6212482c9971bf2d8aa1dd79b3fdb67 /engine/eConstr.mli | |
| parent | 05e2222e04323d11429d659b415750cf40e2babd (diff) | |
[EConstr] Expose API to normalize and check if evars are remaining
Diffstat (limited to 'engine/eConstr.mli')
| -rw-r--r-- | engine/eConstr.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/eConstr.mli b/engine/eConstr.mli index 6532e08e9d..49cbc4d7e5 100644 --- a/engine/eConstr.mli +++ b/engine/eConstr.mli @@ -77,6 +77,9 @@ val to_constr : ?abort_on_undefined_evars:bool -> Evd.evar_map -> t -> Constr.t For getting the evar-normal form of a term with evars see {!Evarutil.nf_evar}. *) +val to_constr_opt : Evd.evar_map -> t -> Constr.t option +(** Same as [to_constr], but returns [None] if some unresolved evars remain *) + val kind_of_type : Evd.evar_map -> t -> (t, t) Term.kind_of_type (** {5 Constructors} *) |
