Module Ltac2_plugin.Tac2interp
type environment
= Tac2env.environment
val empty_environment : environment
val interp : environment -> Tac2expr.glb_tacexpr -> Tac2ffi.valexpr Proofview.tactic
val interp_value : environment -> Tac2expr.glb_tacexpr -> Tac2ffi.valexpr
Same as
interp
but assumes that the argument is a syntactic value.
val eval_global : Tac2expr.ltac_constant -> Tac2ffi.valexpr
val eval_glb_ext : environment -> Tac2dyn.Arg.glb -> Tac2ffi.valexpr Proofview.tactic
val push_id : environment -> Names.Id.t -> Tac2ffi.valexpr -> environment
Cross-boundary encodings
val get_env : Ltac_pretype.unbound_ltac_var_map -> environment
val set_env : environment -> Ltac_pretype.unbound_ltac_var_map -> Ltac_pretype.unbound_ltac_var_map
Exceptions
exception
LtacError of Names.KerName.t * Tac2ffi.valexpr array
Ltac2-defined exceptions seen from OCaml side