package rocq-runtime
Module Ltac2_plugin.Tac2internSource
Source
val intern :
strict:bool ->
UnivNames.universe_binders ->
context ->
Tac2expr.raw_tacexpr ->
Tac2expr.glb_tacexpr * Tac2expr.type_schemeSource
val intern_typedef :
(Names.KerName.t * int) Names.Id.Map.t ->
Tac2expr.raw_quant_typedef ->
Tac2expr.glb_quant_typedefSource
val intern_accumulate_errors :
strict:bool ->
context ->
Tac2expr.raw_tacexpr ->
Tac2expr.glb_tacexpr * Tac2expr.type_scheme * Pp.t Loc.located listSource
val genintern_warn_not_unit :
?check_unused:bool ->
Genintern.glob_sign ->
(Names.Name.t * Tac2typing_env.mix_type_scheme) list ->
Tac2expr.raw_tacexpr ->
Tac2expr.glb_tacexprcheck_unused is default true
Source
val genintern :
?check_unused:bool ->
Genintern.glob_sign ->
(Names.Name.t * Tac2typing_env.mix_type_scheme) list ->
Tac2typing_env.TVar.t Tac2expr.glb_typexpr ->
Tac2expr.raw_tacexpr ->
Tac2expr.glb_tacexprSource
type not_value_reason = | MutString| Application| MutDef of Tac2expr.ltac_constant| MutCtor of Tac2expr.type_constant| MutProj of Tac2expr.type_constant| MaybeValButNotSupported
Check that a term is a value. Only values are safe to marshall between processes.
check_subtype t1 t2 returns true iff all values of instances of type t1 also have type t2.
Errors
Misc