package coq
Module Ltac2_plugin.Tac2matchSource
This file extends Matching with the main logic for Ltac2 match goal.
Source
type match_pattern = | MatchPattern of Pattern.constr_pattern| MatchContext of Pattern.constr_pattern
TODO: handle definitions
Source
val match_goal :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
rev:bool ->
match_rule ->
((Names.Id.t * context option) list
* context option
* Ltac_pretype.patvar_map)
Proofview.tactic