Module Import_info
module CU := Compilation_unitEither an interface (.cmi) or implementation (.cmo/x) import. Should be avoided in new code, in preference to Intf.t or Impl.t.
val create : CU.Name.t -> crc_with_unit:(CU.t * string) option -> Import_info.tval create_normal : CU.t -> crc:string option -> Import_info.tval name : Import_info.t -> CU.Name.tval cu : Import_info.t -> CU.tThis function will cause a fatal error if a CU.t was not provided when the supplied value of type t was created.
val crc : Import_info.t -> string optionval has_name : Import_info.t -> name:CU.Name.t -> boolval dummy : Import_info.tmodule Intf : sig ... endThe preferred API to use for interface imports. An interface import might be a parameter, in which case it has a CRC but no CU.t (since a CU.t is for an implementation).
module Impl : sig ... end