Module Mod_typing

Main functions for translating module entries

type 'a vm_handler = {
vm_handler : Environ.env -> Declarations.universes -> Constr.t -> 'a -> 'a * Vmlibrary.indirect_code option;
}
type 'a vm_state = 'a * 'a vm_handler

translate_module produces a module_body out of a module_entry. In the output fields:

translate_modtype produces a module_type_body whose mod_type_alg cannot be None (and of course mod_expr is Abstract).

From an already-translated (or interactive) implementation and an (optional) signature entry, produces a final module_body

translate_mse_incl translate the mse of a module or module type given to an Include