package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.17.1.tar.gz
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b
doc/coq-core.vernac/Declare/Hook/S/index.html
Module Hook.S
Source
Hooks allow users of the API to perform arbitrary actions at proof/definition saving time. For example, to register a constant as a Coercion, perform some cleanup, update the search database, etc...
Source
type t = {
uctx : UState.t;
(*
*)ustate
: universe constraints obtained when the term was closedobls : (Names.Id.t * Constr.t) list;
(*
*)(n1,t1),...(nm,tm)
: association list between obligation name and the corresponding defined term (might be a constant, but also an arbitrary term in the Expand case of obligations)scope : Locality.definition_scope;
(*
*)scope
: Locality of the original declarationdref : Names.GlobRef.t;
(*
*)dref
: identifier of the original declaration
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>