package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.1.tar.gz
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2

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.