Module Translmod
module SL := Slambdaval transl_implementation :
Compilation_unit.t ->
(Typedtree.structure
* Typedtree.module_coercion
* Typedtree.module_coercion option) ->
loc:Location.t ->
SL.programval transl_toplevel_definition : Typedtree.structure -> Lambda.lambdaval transl_package :
Compilation_unit.t option list ->
Typedtree.module_coercion ->
int * Lambda.lambdatype runtime_arg = | Argument_block of {ra_unit : Compilation_unit.t;ra_field_idx : int;ra_main_repr : Lambda.module_representation;
}| Main_module_block of Compilation_unit.t| Unit
val transl_instance :
Compilation_unit.t ->
runtime_args:Translmod.runtime_arg list ->
main_module_block_repr:Lambda.module_representation ->
arg_block_idx:int option ->
SL.programval toplevel_name : Ident.t -> stringval primitive_declarations : Primitive.description list Stdlib.reftype unsafe_info = | Unsafe of {reason : Translmod.unsafe_component;loc : Location.t;subid : Ident.t;
}| Unnamed
type error = | Circular_dependency of (Ident.t * Translmod.unsafe_info) list| Conflicting_inline_attributes| Instantiating_packed of Compilation_unit.t
exception Error of Location.t * Translmod.errorval report_error : Location.t -> Translmod.error -> Location.error