Module Patternops
Functions on patterns
val constr_pattern_eq : Pattern.constr_pattern -> Pattern.constr_pattern -> bool
val occur_meta_pattern : Pattern.constr_pattern -> bool
val subst_pattern : Environ.env -> Evd.evar_map -> Mod_subst.substitution -> Pattern.constr_pattern -> Pattern.constr_pattern
val noccurn_pattern : int -> Pattern.constr_pattern -> bool
val head_pattern_bound : Pattern.constr_pattern -> Names.GlobRef.t
val head_of_constr_reference : Evd.evar_map -> EConstr.constr -> Names.GlobRef.t
val pattern_of_constr : Environ.env -> Evd.evar_map -> EConstr.constr -> Pattern.constr_pattern
val legacy_bad_pattern_of_constr : Environ.env -> Evd.evar_map -> EConstr.constr -> Pattern.constr_pattern
Do not use, for internal Coq use only.
val pattern_of_glob_constr : Glob_term.glob_constr -> Pattern.patvar list * Pattern.constr_pattern
val map_pattern_with_binders : (Names.Name.t -> 'a -> 'a) -> ('a -> Pattern.constr_pattern -> Pattern.constr_pattern) -> 'a -> Pattern.constr_pattern -> Pattern.constr_pattern
val lift_pattern : int -> Pattern.constr_pattern -> Pattern.constr_pattern