package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.15.2.tar.gz
sha256=13a67c0a4559ae22e9765c8fdb88957b16c2b335a2d5f47e4d6d9b4b8b299926

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

Module ModinternSource

Module internalization errors

Sourcetype module_internalization_error =
  1. | NotAModuleNorModtype of string
  2. | IncorrectWithInModule
  3. | 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
OCaml

Innovation. Community. Security.