package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c

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.