package coq-core
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/Mod_typing/index.html
Module Mod_typing
Source
Main functions for translating module entries
Source
type 'a vm_handler = {
vm_handler : Environ.env -> Declarations.universes -> Constr.t -> 'a -> 'a * Vmlibrary.indirect_code option;
}
translate_module
produces a module_body
out of a module_entry
. In the output fields:
mod_expr
isAbstract
for aMType
entry, orAlgebraic
forMExpr
.mod_type_alg
isNone
only for aMExpr
without explicit signature.
Source
val translate_module :
('a, UGraph.univ_inconsistency) Conversion.universe_state ->
'b vm_state ->
Environ.env ->
Names.ModPath.t ->
Entries.inline ->
Entries.module_entry ->
Declarations.module_body * 'a * 'b
translate_modtype
produces a module_type_body
whose mod_type_alg
cannot be None
(and of course mod_expr
is Abstract
).
Source
val translate_modtype :
('a, UGraph.univ_inconsistency) Conversion.universe_state ->
'b vm_state ->
Environ.env ->
Names.ModPath.t ->
Entries.inline ->
Entries.module_type_entry ->
Declarations.module_type_body * 'a * 'b
From an already-translated (or interactive) implementation and an (optional) signature entry, produces a final module_body
Source
val finalize_module :
('a, UGraph.univ_inconsistency) Conversion.universe_state ->
'b vm_state ->
Environ.env ->
Names.ModPath.t ->
(Declarations.module_signature * Mod_subst.delta_resolver) ->
(Entries.module_type_entry * Entries.inline) option ->
Declarations.module_body * 'a * 'b
translate_mse_incl
translate the mse of a module or module type given to an Include
Source
val translate_mse_include :
bool ->
('a, UGraph.univ_inconsistency) Conversion.universe_state ->
'b vm_state ->
Environ.env ->
Names.ModPath.t ->
Entries.inline ->
Entries.module_struct_entry ->
Declarations.module_signature * unit * Mod_subst.delta_resolver * 'a * 'b
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>