aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/evarsolve.mli
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2014-08-25 21:46:26 +0200
committerGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2014-08-25 21:55:34 +0200
commit109c90efd0dd2bfbeb6c29b263ccd9b2e84e5b9e (patch)
treef7860f13dc18938953ead65c63923aba117d890b /pretyping/evarsolve.mli
parent12c803053572194c85e4c7b7f347175c7c335858 (diff)
Fixing bug #3377 by giving env and sigma to constrMathching. Now it's possible
to match on a primitive projection application c.(p) using "?f _", binding f to (fun x => x.(p)) with the correct typing.
Diffstat (limited to 'pretyping/evarsolve.mli')
-rw-r--r--pretyping/evarsolve.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/pretyping/evarsolve.mli b/pretyping/evarsolve.mli
index e35fb44b1..a0d0f6fdf 100644
--- a/pretyping/evarsolve.mli
+++ b/pretyping/evarsolve.mli
@@ -51,6 +51,10 @@ val solve_simple_eqn : conv_fun -> ?choose:bool -> env -> evar_map ->
val reconsider_conv_pbs : conv_fun -> evar_map -> unification_result
+(** Raises [Occur] if the evar occurs in the evar-expanded version of the term. *)
+val is_unification_pattern_evar_occur : env -> evar_map -> existential -> constr list ->
+ constr -> constr list option
+
val is_unification_pattern_evar : env -> evar_map -> existential -> constr list ->
constr -> constr list option