Module B0_ocaml.Modref

Module digested references.

TODO. Use that in B0_odoc.

Module references

type t

The type for module references as found in compilation objects. This is a module name and a digest of its interface.

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

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

val name : t -> Modname.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 equal : t -> t -> bool

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

val compare : t -> t -> int

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

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.