package coq-core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Universes.

type t

Type of universe levels. A universe level is essentially a unique name that will be associated to constraints later on. A level can be local to a definition or global.

val set : t

The Set universe level.

val is_set : t -> bool

Is the universe Set?

val compare : t -> t -> int

Comparison function

val equal : t -> t -> bool

Equality function

val hash : t -> int
val make : UGlobal.t -> t
val raw_pr : t -> Pp.t

Pretty-printing. When possible you should use name-aware printing.

val pr : t -> Pp.t
  • deprecated Use [UnivNames.pr_with_global_universes] instead if possible, otherwise [raw_pr].
val to_string : t -> string

Debug printing

val var : int -> t
val var_index : t -> int option
val name : t -> UGlobal.t option
module Set : sig ... end
module Map : sig ... end
OCaml

Innovation. Community. Security.