package alcotest

  1. Overview
  2. Docs
val empty : set
val is_empty : set -> bool
val mem : string -> set -> bool
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 compare : set -> set -> int
val equal : set -> set -> bool
val subset : set -> set -> bool
val iter : (string -> unit) -> set -> unit
val map : (string -> string) -> set -> set
val fold : (string -> 'a -> 'a) -> set -> 'a -> 'a
val for_all : (string -> bool) -> set -> bool
val exists : (string -> bool) -> set -> bool
val filter : (string -> bool) -> set -> set
val filter_map : (string -> string option) -> set -> set
val partition : (string -> bool) -> 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 split : string -> set -> set * bool * set
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 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.