package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.14.0.tar.gz
sha256=b1501d686c21836302191ae30f610cca57fb309214c126518ca009363ad2cd3c

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.

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

Finite sets of identifiers.

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

Finite maps of identifiers.

Sourcemodule 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.