diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-10-27 18:18:30 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-10-27 18:18:30 +0200 |
commit | ff4793c609d4fc2b868ff673ffaa48abf6d5fa03 (patch) | |
tree | 49a7a2cf4ebe5cd0066156a096434f3014f0fd06 /plugins/ltac/tactic_matching.ml | |
parent | 99b1f939f8ca56b328a159c27033052c6fcb9a81 (diff) | |
parent | bf4112094feb1a705d8bdaea3fb0febc4ef3ff59 (diff) |
Merge PR #6015: [general] Remove Econstr dependency from `intf`
Diffstat (limited to 'plugins/ltac/tactic_matching.ml')
-rw-r--r-- | plugins/ltac/tactic_matching.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ltac/tactic_matching.ml b/plugins/ltac/tactic_matching.ml index 18bb7d2db..89b78e590 100644 --- a/plugins/ltac/tactic_matching.ml +++ b/plugins/ltac/tactic_matching.ml @@ -22,7 +22,7 @@ module NamedDecl = Context.Named.Declaration those of {!Matching.matching_result}), and a {!Term.constr} substitution mapping corresponding to matched hypotheses. *) type 'a t = { - subst : Constr_matching.bound_ident_map * Pattern.extended_patvar_map ; + subst : Constr_matching.bound_ident_map * Ltac_pretype.extended_patvar_map ; context : EConstr.constr Id.Map.t; terms : EConstr.constr Id.Map.t; lhs : 'a; @@ -36,8 +36,8 @@ type 'a t = { (** Some of the functions of {!Matching} return the substitution with a [patvar_map] instead of an [extended_patvar_map]. [adjust] coerces substitution of the former type to the latter. *) -let adjust : Constr_matching.bound_ident_map * Pattern.patvar_map -> - Constr_matching.bound_ident_map * Pattern.extended_patvar_map = +let adjust : Constr_matching.bound_ident_map * Ltac_pretype.patvar_map -> + Constr_matching.bound_ident_map * Ltac_pretype.extended_patvar_map = fun (l, lc) -> (l, Id.Map.map (fun c -> [], c) lc) |