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/Name/index.html

Module Names.NameSource

Representation and operations on identifiers that are allowed to be anonymous (i.e. "_" in concrete syntax).

Sourcetype t =
  1. | Anonymous
    (*

    anonymous identifier

    *)
  2. | Name of Id.t
    (*

    non-anonymous identifier

    *)
Sourceval mk_name : Id.t -> t

constructor

Sourceval is_anonymous : t -> bool

Return true iff a given name is Anonymous.

Sourceval is_name : t -> bool

Return true iff a given name is Name _.

Sourceval compare : t -> t -> int

Comparison over names.

Sourceval equal : t -> t -> bool

Equality over names.

Sourceval hash : t -> int

Hash over names.

Sourceval hcons : t Hashcons.f

Hashconsing over names.

Sourceval print : t -> Pp.t

Pretty-printer (print "_" for Anonymous.