package coq
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Formal proof management system
Install
dune-project
Dependency
Authors
Maintainers
Sources
coq-8.15.1.tar.gz
sha256=513e953b7183d478acb75fd6e80e4dc32ac1a918cf4343ac31a859cfb4e9aad2
doc/coq-core.kernel/Mod_typing/index.html
Module Mod_typingSource
Main functions for translating module entries
translate_module produces a module_body out of a module_entry. In the output fields:
mod_exprisAbstractfor aMTypeentry, orAlgebraicforMExpr.mod_type_algisNoneonly for aMExprwithout explicit signature.
Source
val translate_module :
Environ.env ->
Names.ModPath.t ->
Entries.inline ->
Entries.module_entry ->
Declarations.module_body * Univ.Constraints.ttranslate_modtype produces a module_type_body whose mod_type_alg cannot be None (and of course mod_expr is Abstract).
Source
val translate_modtype :
Environ.env ->
Names.ModPath.t ->
Entries.inline ->
Entries.module_type_entry ->
Declarations.module_type_body * Univ.Constraints.tLow-level function for translating a module struct entry :
- We translate to a module when a
ModPath.tis given, otherwise to a module type. - The first output is the expanded signature
- The second output is the algebraic expression, kept mostly for the extraction.
Source
type 'alg translation =
Declarations.module_signature
* 'alg
* Mod_subst.delta_resolver
* Univ.Constraints.tSource
val translate_mse :
Environ.env ->
Names.ModPath.t option ->
Entries.inline ->
Entries.module_struct_entry ->
Declarations.module_alg_expr translationFrom an already-translated (or interactive) implementation and an (optional) signature entry, produces a final module_body
Source
val finalize_module :
Environ.env ->
Names.ModPath.t ->
Declarations.module_expression option translation ->
(Entries.module_type_entry * Entries.inline) option ->
Declarations.module_body * Univ.Constraints.ttranslate_mse_incl translate the mse of a module or module type given to an Include
Source
val translate_mse_incl :
bool ->
Environ.env ->
Names.ModPath.t ->
Entries.inline ->
Entries.module_struct_entry ->
unit translation sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>