Module Brzo_b0_ocaml.Mod_ref

Digested module references.

As found in compilation objects.

TODO. Use that in B0_odoc.

Module references

type t

The type for module references.

val v : string -> Stdlib.Digest.t -> t

v n d is a module reference with name n and digest d.

val name : t -> Mod_name.t

name m is the capitalized module name of module reference m.

val digest : t -> Stdlib.Digest.t

digest m is the interface digest of module reference m.

val compare : t -> t -> int

compare m m' is a total order on module references.

val equal : t -> t -> bool

equal m m' is true iff m and m' are the same reference.

val pp : t B0_std.Fmt.t

pp formats a module reference.

module Set : sig ... end

Module reference sets.

module Map : sig ... end

Module reference maps.