package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.18.0.tar.gz
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50

doc/coq-core.kernel/Constant_typing/index.html

Module Constant_typingSource

Sourcetype 'a effect_handler = Environ.env -> Constr.t -> 'a -> Constr.t * Univ.ContextSet.t * int

Handlers are used to manage side-effects. The 'a type stands for the type of side-effects, and it is parametric because they are only defined later on. Handlers inline the provided side-effects into the term, and return the set of additional global constraints that need to be added for the term to be well typed.

Sourcetype typing_context
Sourceval translate_local_assum : Environ.env -> Constr.types -> Constr.types * Sorts.relevance
Sourceval translate_constant : sec_univs:Univ.Level.t array option -> Environ.env -> Names.Constant.t -> Entries.constant_entry -> 'a Declarations.pconstant_body
Sourceval translate_opaque : sec_univs:Univ.Level.t array option -> Environ.env -> Names.Constant.t -> 'a Entries.opaque_entry -> unit Declarations.pconstant_body * typing_context
OCaml

Innovation. Community. Security.