package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c

doc/coq-core.pretyping/Geninterp/index.html

Module GeninterpSource

Interpretation functions for generic arguments and interpreted Ltac values.

Dynamic toplevel values
Sourcemodule Val : sig ... end
module ValTMap (Value : Dyn.ValueS) : Dyn.MapS with type 'a key = 'a Val.typ and type 'a value = 'a Value.t

Dynamic types for toplevel values. While the generic types permit to relate objects at various levels of interpretation, toplevel values are wearing their own type regardless of where they came from. This allows to use the same runtime representation for several generic types.

Retrieve the dynamic type associated to a toplevel genarg.

Sourceval register_val0 : ('raw, 'glb, 'top) Genarg.genarg_type -> 'top Val.tag option -> unit

Register the representation of a generic argument. If no tag is given as argument, a new fresh tag with the same name as the argument is associated to the generic type.

Interpretation functions
module TacStore : Store.S
Sourcetype interp_sign = {
  1. lfun : Val.t Names.Id.Map.t;
  2. poly : bool;
  3. extra : TacStore.t;
}
Sourcetype ('glb, 'top) interp_fun = interp_sign -> 'glb -> 'top Ftactic.t
Sourceval interp : ('raw, 'glb, 'top) Genarg.genarg_type -> ('glb, Val.t) interp_fun
Sourceval register_interp0 : ('raw, 'glb, 'top) Genarg.genarg_type -> ('glb, Val.t) interp_fun -> unit
OCaml

Innovation. Community. Security.