package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.18.0.tar.gz
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50

doc/coq-core.kernel/Names/Constant/index.html

Module Names.ConstantSource

Sourcetype t

Constructors

Sourceval make : KerName.t -> KerName.t -> t

Builds a constant name from a user and a canonical kernel name.

Sourceval make1 : KerName.t -> t

Special case of make where the user name is canonical.

Sourceval make2 : ModPath.t -> Label.t -> t

Shortcut for (make1 (KerName.make2 ...))

Projections

Sourceval user : t -> KerName.t
Sourceval canonical : t -> KerName.t
Sourceval modpath : t -> ModPath.t

Shortcut for KerName.modpath (user ...)

Sourceval label : t -> Label.t

Shortcut for KerName.label (user ...)

Comparisons

include QNameS with type t := t
Sourcemodule CanOrd : EqType with type t = t

Equality functions over the canonical name. Their use should be restricted to the kernel.

Sourcemodule UserOrd : EqType with type t = t

Equality functions over the user name.

Sourcemodule SyntacticOrd : EqType with type t = t

Equality functions using both names, for low-level uses.

Sourceval equal : t -> t -> bool

Default comparison, alias for CanOrd.equal

  • deprecated Use QConstant.equal
Sourceval hash : t -> int

Hashing function

  • deprecated Use QConstant.hash
Sourceval change_label : t -> Label.t -> t

Builds a new constant name with a different label

Displaying

Sourceval to_string : t -> string

Encode as a string (not to be used for user-facing messages).

Sourceval print : t -> Pp.t

Print internal representation (not to be used for user-facing messages).

Sourceval debug_to_string : t -> string

Same as to_string, but outputs extra information related to debug.

Sourceval debug_print : t -> Pp.t

Same as print, but outputs extra information related to debug.

OCaml

Innovation. Community. Security.