package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.0.tar.gz
md5=66e57ea55275903bef74d5bf36fbe0f1
sha512=1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b

doc/coq-core.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 -> t

Hashconsing over names.

Sourceval print : t -> Pp.t

Pretty-printer (print "_" for Anonymous.

OCaml

Innovation. Community. Security.