diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-11-06 21:59:18 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2017-02-14 17:26:38 +0100 |
commit | b77579ac873975a15978c5a4ecf312d577746d26 (patch) | |
tree | 772e41667e74c38582ff6f4645c73e7d7556f935 /pretyping/find_subterm.mli | |
parent | 258c8502eafd3e078a5c7478a452432b5c046f71 (diff) |
Tacred API using EConstr.
Diffstat (limited to 'pretyping/find_subterm.mli')
-rw-r--r-- | pretyping/find_subterm.mli | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/find_subterm.mli b/pretyping/find_subterm.mli index 49a5dd7f2..e7f0da93f 100644 --- a/pretyping/find_subterm.mli +++ b/pretyping/find_subterm.mli @@ -41,12 +41,13 @@ val make_eq_univs_test : env -> evar_map -> EConstr.constr -> evar_map testing_f matching subterms at the indicated occurrences [occl] with [mk ()]; it turns a NotUnifiable exception raised by the testing function into a SubtermUnificationError. *) -val replace_term_occ_modulo : occurrences or_like_first -> +val replace_term_occ_modulo : evar_map -> occurrences or_like_first -> 'a testing_function -> (unit -> EConstr.constr) -> EConstr.constr -> constr (** [replace_term_occ_decl_modulo] is similar to [replace_term_occ_modulo] but for a named_declaration. *) val replace_term_occ_decl_modulo : + evar_map -> (occurrences * hyp_location_flag) or_like_first -> 'a testing_function -> (unit -> EConstr.constr) -> Context.Named.Declaration.t -> Context.Named.Declaration.t |