package coq

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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 : module_ident list -> t

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

Sourceval repr : t -> module_ident 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 initial : t

Initial "seed" of the unique identifier generator

Sourceval hcons : t -> t

Hashconsing of directory paths.

Sourceval to_string : t -> string

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

Sourceval print : t -> Pp.t
OCaml

Innovation. Community. Security.