package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.1.0.tar.gz
sha256=b236dc44f92e1eeca6877c7ee188a90c2303497fe7beb99df711ed5a7ce0d824

doc/rocq-runtime.kernel/Names/DirPath/index.html

Module Names.DirPathSource

Sourcetype 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"

Sourceval equal : t -> t -> bool

Equality over directory paths.

Sourceval compare : t -> t -> int

Comparison over directory paths.

Sourceval hash : t -> int

Hash over directory paths.

Sourceval make : Id.t list -> t

Create a directory path. (The list must be reversed).

Sourceval repr : t -> Id.t list

Represent a directory path. (The result list is reversed).

Sourceval empty : t

The empty directory path.

Sourceval is_empty : t -> bool

Test whether a directory path is empty.

Sourceval dummy : t

Used in Safe_typing.empty_environment and similar

Sourceval hcons : t Hashcons.f

Hashconsing of directory paths.

Sourceval to_string : t -> string

Print non-empty directory paths as "root.module.submodule"

Sourceval print : t -> Pp.t