package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.1.tar.gz
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42

doc/coq-core.interp/Modintern/index.html

Module ModinternSource

Module internalization errors

Sourcetype module_internalization_error =
  1. | NotAModuleNorModtype of Libnames.qualid
  2. | NotAModuleType of Libnames.qualid
  3. | NotAModule of Libnames.qualid
  4. | IncorrectWithInModule
  5. | IncorrectModuleApplication
Sourceexception ModuleInternalizationError of module_internalization_error

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.

Sourcetype module_kind =
  1. | Module
  2. | ModType
  3. | ModAny

Module internalization, i.e. from AST to module expression

Module interpretation, i.e. from module expression to typed module entry

OCaml

Innovation. Community. Security.