Module Brzo_b0_ocaml.Mod_name

Module names.

Module names

type t = string

The type for unqualified, capitalized, module names.

val v : string -> t

v n is a module name for n, the result is capitalized.

val of_filename : B0_std.Fpath.t -> t

of_filename f is the basename of f, without extension, capitalized.

val equal : t -> t -> bool

equal n0 n1 is true iff n0 and n1 are the same module name.

val compare : t -> t -> int

comare n0 n1 is a total order on module names compatiable with equal.

val pp : t B0_std.Fmt.t

pp formats a module name.

module Set = B0_std.String.Set

Module name sets.

module Map = B0_std.String.Map

Module name maps.