You can search for identifiers within the package.
in-package search v0.2.0
include Asetmap.Set.S with type elt = id
include Stdlib.Set.S with type elt = id
type elt = id
type t
val empty : t
val is_empty : t -> bool
val mem : elt -> t -> bool
val add : elt -> t -> t
val singleton : elt -> t
val remove : elt -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val subset : t -> t -> bool
val iter : (elt -> unit) -> t -> unit
val map : (elt -> elt) -> t -> t
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val for_all : (elt -> bool) -> t -> bool
val exists : (elt -> bool) -> t -> bool
val filter : (elt -> bool) -> t -> t
val partition : (elt -> bool) -> t -> t * t
val cardinal : t -> int
val elements : t -> elt list
val min_elt_opt : t -> elt option
val max_elt_opt : t -> elt option
val choose_opt : t -> elt option
val split : elt -> t -> t * bool * t
val find_opt : elt -> t -> elt option
val find_first : (elt -> bool) -> t -> elt
val find_first_opt : (elt -> bool) -> t -> elt option
val find_last : (elt -> bool) -> t -> elt
val find_last_opt : (elt -> bool) -> t -> elt option
val to_seq_from : elt -> t -> elt Stdlib.Seq.t
val to_seq : t -> elt Stdlib.Seq.t
val add_seq : elt Stdlib.Seq.t -> t -> t
val of_seq : elt Stdlib.Seq.t -> t
val find : elt -> t -> elt option
find e s is the element of s equal to e (if any).
find e s
s
e
val get : elt -> t -> elt
get is like find but
get
find
Invalid_argument
if elt is not in s.
elt
val min_elt : t -> elt option
min_elt s is the smallest element of s (if any).
min_elt s
val get_min_elt : t -> elt
get_min_elt is like min_elt but
get_min_elt
min_elt
on the empty set.
val max_elt : t -> elt option
max_elt s is the greatest element of s (if any).
max_elt s
val get_max_elt : t -> elt
get_max_elt is like max_elt but
get_max_elt
max_elt
val choose : t -> elt option
choose s is an element of s or None is s empty. The chosen element is equal for equal sets.
choose s
None
val get_any_elt : t -> elt
get_any_elt is like choose but
get_any_elt
choose
val to_list : t -> elt list
to_list s is the elements of s in increasing order.
to_list s
val of_list : elt list -> t
of_list l is a set from the elements of l
of_list l
l
val dump : (Stdlib.Format.formatter -> elt -> unit) -> Stdlib.Format.formatter -> t -> unit
dump pp_elt ppf s prints an unspecified representation of s on ppf using pp_elt to print elements.
dump pp_elt ppf s
ppf
pp_elt
val pp : t Fmt.t