Module Lang.Compilation_unit

module Import : sig ... end
module Source : sig ... end
module Packed : sig ... end
type content =
| Module of Signature.t
| Pack of Packed.t
type t = {
id : Paths.Identifier.RootModule.t;
root : Root.t;
digest : Digest.t;
imports : Import.t list;
source : Source.t option;
interface : bool;
hidden : bool;
content : content;
expansion : Signature.t option;
linked : bool;(*

Whether this unit has been linked.

*)
canonical : Paths.Path.Module.t option;
}