package ocaml-base-compiler

  1. Overview
  2. Docs
val compunit : Env.t -> string -> Types.signature -> string -> Types.signature -> Typedtree.module_coercion
val type_declarations : loc:Location.t -> Env.t -> Ident.t -> Types.type_declaration -> Types.type_declaration -> unit
val print_coercion : Format.formatter -> Typedtree.module_coercion -> unit
type symptom =
  1. | Missing_field of Ident.t * Location.t * string
  2. | Value_descriptions of Ident.t * Types.value_description * Types.value_description
  3. | Type_declarations of Ident.t * Types.type_declaration * Types.type_declaration * Includecore.type_mismatch list
  4. | Extension_constructors of Ident.t * Types.extension_constructor * Types.extension_constructor
  5. | Module_types of Types.module_type * Types.module_type
  6. | Modtype_infos of Ident.t * Types.modtype_declaration * Types.modtype_declaration
  7. | Modtype_permutation
  8. | Interface_mismatch of string * string
  9. | Class_type_declarations of Ident.t * Types.class_type_declaration * Types.class_type_declaration * Ctype.class_match_failure list
  10. | Class_declarations of Ident.t * Types.class_declaration * Types.class_declaration * Ctype.class_match_failure list
  11. | Unbound_modtype_path of Path.t
  12. | Unbound_module_path of Path.t
  13. | Invalid_module_alias of Path.t
type pos =
  1. | Module of Ident.t
  2. | Modtype of Ident.t
  3. | Arg of Ident.t
  4. | Body of Ident.t
type error = pos list * Env.t * symptom
exception Error of error list
val report_error : Format.formatter -> error list -> unit
val expand_module_alias : Env.t -> pos list -> Path.t -> Types.module_type
OCaml

Innovation. Community. Security.