Module Debug.OID

Unique object IDs, for debugging.

type t

A unique ID which can be attached to objects to aid debugging.

val next : unit -> t

next () is a fresh ID, unique since the last reset.

val pp : t Fmt.t
val reset : unit -> unit

Reset the counter. Possibly useful in unit or fuzz tests.