package spotlib

  1. Overview
  2. Docs

Parameters

Signature

type t
val create : int -> t
val add : t -> A.t -> unit
val remove : t -> A.t -> unit
val mem : t -> A.t -> bool
val find : t -> A.t -> A.t
val find_opt : t -> A.t -> A.t option
val find_or_add : t -> A.t -> A.t
val iter : (A.t -> unit) -> t -> unit
val fold : (A.t -> 'a -> 'a) -> t -> 'a -> 'a
val elements : t -> int
val clear : t -> unit
val of_list : int -> A.t list -> t
val to_list : t -> A.t list
OCaml

Innovation. Community. Security.