(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* t val to_tacvalue : t -> tacvalue option val of_constr : constr -> t val to_constr : t -> constr option val of_uconstr : Ltac_pretype.closed_glob_constr -> t val to_uconstr : t -> Ltac_pretype.closed_glob_constr option val of_constr_context : Constr_matching.context -> t val to_constr_context : t -> Constr_matching.context option val of_int : int -> t val to_int : t -> int option val of_ident : Id.t -> t val to_ident : t -> Id.t option val to_list : t -> t list option val to_option : t -> t option option val to_pair : t -> (t * t) option val cast : 'a typed_abstract_argument_type -> Geninterp.Val.t -> 'a val of_constr_under_binders : Ltac_pretype.constr_under_binders -> t (* No [to_constr_under_binders], use [coerce_to_constr] instead *) end (** {5 Coercion functions} *) val coerce_to_constr_context : Value.t -> Constr_matching.context val coerce_var_to_ident : bool -> Environ.env -> Evd.evar_map -> Value.t -> Id.t val coerce_to_ident_not_fresh : Evd.evar_map -> Value.t -> Id.t val coerce_to_intro_pattern : Evd.evar_map -> Value.t -> delayed_open_constr intro_pattern_expr val coerce_to_intro_pattern_naming : Evd.evar_map -> Value.t -> Namegen.intro_pattern_naming_expr val coerce_to_hint_base : Value.t -> string val coerce_to_int : Value.t -> int val coerce_to_constr : Environ.env -> Value.t -> Ltac_pretype.constr_under_binders val coerce_to_uconstr : Value.t -> Ltac_pretype.closed_glob_constr val coerce_to_closed_constr : Environ.env -> Value.t -> constr val coerce_to_evaluable_ref : Environ.env -> Evd.evar_map -> Value.t -> Evaluable.t val coerce_to_constr_list : Environ.env -> Value.t -> constr list val coerce_to_intro_pattern_list : ?loc:Loc.t -> Evd.evar_map -> Value.t -> Tacexpr.intro_patterns val coerce_to_hyp : Environ.env -> Evd.evar_map -> Value.t -> Id.t val coerce_to_hyp_list : Environ.env -> Evd.evar_map -> Value.t -> Id.t list val coerce_to_reference : Evd.evar_map -> Value.t -> GlobRef.t val coerce_to_quantified_hypothesis : Evd.evar_map -> Value.t -> quantified_hypothesis val coerce_to_decl_or_quant_hyp : Evd.evar_map -> Value.t -> quantified_hypothesis val coerce_to_int_list : Value.t -> int list val error_ltac_variable : ?loc:Loc.t -> Id.t -> (Environ.env * Evd.evar_map) option -> Value.t -> string -> 'a val pr_value : (Environ.env * Evd.evar_map) option -> Geninterp.Val.t -> Pp.t