Module Names.DirPath
type t
Type of directory paths. Essentially a list of module identifiers. The order is reversed to improve sharing. E.g. A.B.C is
"C";"B";"A"
val hash : t -> int
Hash over directory paths.
val make : module_ident list -> t
Create a directory path. (The list must be reversed).
val repr : t -> module_ident list
Represent a directory path. (The result list is reversed).
val empty : t
The empty directory path.
val is_empty : t -> bool
Test whether a directory path is empty.
val dummy : t
Used in
Safe_typing.empty_environment
and similar
val to_string : t -> string
Print non-empty directory paths as
"coq_root.module.submodule"