package alcotest

  1. Overview
  2. Docs
val empty : set
val add : string -> set -> set
val singleton : string -> set
val remove : string -> set -> set
val union : set -> set -> set
val inter : set -> set -> set
val disjoint : set -> set -> bool
val diff : set -> set -> set
val cardinal : set -> int
val elements : set -> string list
val min_elt_opt : set -> string option
val max_elt_opt : set -> string option
val choose_opt : set -> string option
val find_opt : string -> set -> string option
val find_first : (string -> bool) -> set -> string
val find_first_opt : (string -> bool) -> set -> string option
val find_last : (string -> bool) -> set -> string
val find_last_opt : (string -> bool) -> set -> string option
val iter : (string -> unit) -> set -> unit
val fold : (string -> 'acc -> 'acc) -> set -> 'acc -> 'acc
val map : (string -> string) -> set -> set
val filter : (string -> bool) -> set -> set
val filter_map : (string -> string option) -> set -> set
val partition : (string -> bool) -> set -> set * set
val split : string -> set -> set * bool * set
val is_empty : set -> bool
val mem : string -> set -> bool
val equal : set -> set -> bool
val compare : set -> set -> int
val subset : set -> set -> bool
val for_all : (string -> bool) -> set -> bool
val exists : (string -> bool) -> set -> bool
val to_list : set -> string list
val to_seq_from : string -> set -> string Stdlib.Seq.t
val to_seq : set -> string Stdlib.Seq.t
val to_rev_seq : set -> string Stdlib.Seq.t
val add_seq : string Stdlib.Seq.t -> set -> set
val of_seq : string Stdlib.Seq.t -> set
type t = set
val min_elt : set -> string option
val get_min_elt : set -> string
val max_elt : set -> string option
val get_max_elt : set -> string
val choose : set -> string option
val get_any_elt : set -> string
val find : string -> set -> string option
val get : string -> set -> string
val of_list : string list -> set
val of_stdlib_set : Stdlib.Set.Make(Stdlib.String).t -> set
val to_stdlib_set : set -> Stdlib.Set.Make(Stdlib.String).t
val pp : ?sep:(Stdlib.Format.formatter -> unit -> unit) -> (Stdlib.Format.formatter -> string -> unit) -> Stdlib.Format.formatter -> set -> unit
val dump : Stdlib.Format.formatter -> set -> unit
OCaml

Innovation. Community. Security.