package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.0.tar.gz
md5=66e57ea55275903bef74d5bf36fbe0f1
sha512=1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b

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 infer_constant : sec_univs:UVars.Instance.t option -> Environ.env -> Entries.constant_entry -> ('a, unit) Declarations.pconstant_body
Sourceval infer_opaque : sec_univs:UVars.Instance.t option -> Environ.env -> 'a Entries.opaque_entry -> (unit, unit) Declarations.pconstant_body * typing_context
OCaml

Innovation. Community. Security.