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

Module Names.IdSource

Representation and operations on identifiers.

Sourcetype t

Values of this type represent (Coq) identifiers.

Sourceval equal : t -> t -> bool

Equality over identifiers.

Sourceval compare : t -> t -> int

Comparison over identifiers.

Sourceval hash : t -> int

Hash over identifiers.

Sourceval is_valid : string -> bool

Check that a string may be converted to an identifier.

Sourceval is_valid_ident_part : string -> bool

Check that a string is a valid part of an identifier

Sourceval of_bytes : bytes -> t
Sourceval of_string : string -> t

Converts a string into an identifier.

  • raises UserError

    if the string is invalid as an identifier.

Sourceval of_string_soft : string -> t

Same as of_string except that any string made of supported UTF-8 characters is accepted.

  • raises UserError

    if the string is invalid as an UTF-8 string.

Sourceval to_string : t -> string

Converts a identifier into an string.

Sourceval print : t -> Pp.t

Pretty-printer.

module Set : Util.Set.S with type elt = t

Finite sets of identifiers.

module Map : Util.Map.ExtS with type key = t and module Set := Set

Finite maps of identifiers.

module Pred : Predicate.S with type elt = t

Predicates over identifiers.

module List : Util.List.MonoS with type elt = t

Operations over lists of identifiers.

Sourceval hcons : t -> t

Hashconsing of identifiers.

OCaml

Innovation. Community. Security.