package commons

  1. Overview
  2. Docs

Module Common2.StringSetSource

Sourcetype elt = string
Sourcetype t
Sourceval empty : t
Sourceval add : string -> t -> t
Sourceval remove : string -> t -> t
Sourceval singleton : string -> t
Sourceval of_list : string list -> t
Sourceval to_list : t -> string list
Sourceval is_empty : t -> bool
Sourceval mem : string -> t -> bool
Sourceval union : t -> t -> t
Sourceval inter : t -> t -> t
Sourceval diff : t -> t -> t
Sourceval subset : t -> t -> bool
Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourceval iter : (string -> unit) -> t -> unit
Sourceval fold : (string -> 'a -> 'a) -> t -> 'a -> 'a
Sourceval for_all : (string -> bool) -> t -> bool
Sourceval exists : (string -> bool) -> t -> bool
Sourceval filter : (string -> bool) -> t -> t
Sourceval partition : (string -> bool) -> t -> t * t
Sourceval cardinal : t -> int
Sourceval elements : t -> string list
Sourceval choose : t -> string
Sourceval split : string -> t -> t * bool * t
OCaml

Innovation. Community. Security.