package algaeff

  1. Overview
  2. Docs

The type of IDs and its friends.

type t = private int

Semi-abstract type of IDs.

val equal : t -> t -> bool

Checking whether two IDs are equal.

val compare : t -> t -> int

Compare two IDs.

val dump : Stdlib.Format.formatter -> t -> unit

Printing the ID.

val unsafe_of_int : int -> t

Unsafe conversion from int. Should be used only for de-serialization.


Innovation. Community. Security.