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.interp/Modintern/index.html
Module Modintern
Source
Module internalization errors
Source
type module_internalization_error =
| NotAModuleNorModtype of Libnames.qualid
| NotAModuleType of Libnames.qualid
| NotAModule of Libnames.qualid
| IncorrectWithInModule
| IncorrectModuleApplication
Module expressions and module types are interpreted relatively to possible functor or functor signature arguments. When the input kind is ModAny (i.e. module or module type), we tries to interprete this ast as a module, and in case of failure, as a module type. The returned kind is never ModAny, and it is equal to the input kind when this one isn't ModAny.
Source
val intern_module_ast :
module_kind ->
Constrexpr.module_ast ->
(Constrexpr.universe_decl_expr option * Constrexpr.constr_expr)
Declarations.module_alg_expr
* Names.ModPath.t
* module_kind
Module internalization, i.e. from AST to module expression
Source
val interp_module_ast :
Environ.env ->
module_kind ->
Names.ModPath.t ->
(Constrexpr.universe_decl_expr option * Constrexpr.constr_expr)
Declarations.module_alg_expr ->
Entries.module_struct_entry * Univ.ContextSet.t
Module interpretation, i.e. from module expression to typed module entry
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>