aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/evarsolve.mli
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2014-09-18 23:44:33 +0200
committerGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2014-09-18 23:45:27 +0200
commit1667d854c9b6a648082731acb1553c879e561940 (patch)
tree45e0ae669b2ce11947ee78915e86507780e1fff8 /pretyping/evarsolve.mli
parent23041481ff368b0b4cfc9a2493c9f465df90ea90 (diff)
Fix constrMatching as well as change/e_contextually to allow
matching partial applications of primitive projections. Fixes bug #3637.
Diffstat (limited to 'pretyping/evarsolve.mli')
-rw-r--r--pretyping/evarsolve.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/pretyping/evarsolve.mli b/pretyping/evarsolve.mli
index 0d0f3c0e5..86c9908c8 100644
--- a/pretyping/evarsolve.mli
+++ b/pretyping/evarsolve.mli
@@ -69,3 +69,9 @@ val check_evar_instance :
val remove_instance_local_defs :
evar_map -> existential_key -> constr array -> constr list
+
+(* This is up to partial applications and primitive projection expansion *)
+val map_constr_with_binders_left_to_right :
+ (Context.rel_declaration -> (env * 'a) -> (env * 'a)) ->
+ ((env * 'a) -> constr -> constr) ->
+ (env * 'a) -> evar_map -> constr -> constr