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/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.make ...))

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 canonize : t -> t

Returns the canonical version of the name

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.