package rocq-runtime

  1. Overview
  2. Docs
On This Page
  1. Notations
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ltac2_plugin.Tac2internSource

Sourcetype context = (Names.Id.t * Tac2expr.type_scheme) list
Sourceval genintern_warn_not_unit : ?check_unused:bool -> Genintern.glob_sign -> (Names.Name.t * Tac2typing_env.mix_type_scheme) list -> Tac2expr.raw_tacexpr -> Tac2expr.glb_tacexpr

check_unused is default true

Sourcetype not_value_reason =
  1. | MutString
  2. | Application
  3. | MutDef of Tac2expr.ltac_constant
  4. | MutCtor of Tac2expr.type_constant
  5. | MutProj of Tac2expr.type_constant
  6. | MaybeValButNotSupported
Sourceval check_value : Tac2expr.glb_tacexpr -> not_value_reason option

Check that a term is a value. Only values are safe to marshall between processes.

Sourceval is_pure_constructor : Tac2expr.type_constant -> bool
Sourceval check_unit : ?loc:Loc.t -> Tac2expr.type_scheme -> unit
Sourceval check_subtype : Tac2expr.type_scheme -> Tac2expr.type_scheme -> bool

check_subtype t1 t2 returns true iff all values of instances of type t1 also have type t2.

Notations

Replaces all qualified identifiers by their corresponding kernel name. The set represents bound variables in the context.

Sourceval debug_globalize_allow_ext : Names.Id.Set.t -> Tac2expr.raw_tacexpr -> Tac2expr.raw_tacexpr

Variant of globalize which can accept CTacExt using the provided function. Intended for debugging.

Errors

Sourceval error_nargs_mismatch : ?loc:Loc.t -> Tac2expr.ltac_constructor -> int -> int -> 'a
Sourceval error_nparams_mismatch : ?loc:Loc.t -> int -> int -> 'a

Misc