package algaeff

  1. Overview
  2. Docs

Module Make.IDSource

The type of IDs and its friends.

Sourcetype t = private int

Semi-abstract type of IDs.

Sourceval equal : t -> t -> bool

Checking whether two IDs are equal.

Sourceval compare : t -> t -> int

Compare two IDs.

Sourceval dump : Format.formatter -> t -> unit

Printing the ID.

Sourceval unsafe_of_int : int -> t

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

OCaml

Innovation. Community. Security.