Module Fpath.Set

module Set: sig .. end
Path sets.


Path sets


include Set.S
type t = Fpath.set 
val min_elt : Fpath.set -> Fpath.path option
Exception safe Set.S.min_elt.
val get_min_elt : Fpath.set -> Fpath.path
get_min_let is like Fpath.Set.min_elt but
Raises Invalid_argument on the empty set.
val max_elt : Fpath.set -> Fpath.path option
Exception safe Set.S.max_elt.
val get_max_elt : Fpath.set -> Fpath.path
get_max_elt is like Fpath.Set.max_elt but
Raises Invalid_argument on the empty set.
val choose : Fpath.set -> Fpath.path option
Exception safe Set.S.choose.
val get_any_elt : Fpath.set -> Fpath.path
get_any_elt is like Fpath.Set.choose but
Raises Invalid_argument on the empty set.
val find : Fpath.path -> Fpath.set -> Fpath.path option
Exception safe Set.S.find.
val get : Fpath.path -> Fpath.set -> Fpath.path
get is like Set.S.find but
Raises Invalid_argument if elt is not in s.
val of_list : Fpath.path list -> Fpath.set
of_list ps is a set from the list ps.
val pp : ?sep:(Format.formatter -> unit -> unit) ->
(Format.formatter -> Fpath.path -> unit) ->
Format.formatter -> Fpath.set -> unit
pp ~sep pp_elt ppf ps formats the elements of ps on ppf. Each element is formatted with pp_elt and elements are separated by ~sep (defaults to Format.pp_print_cut). If the set is empty leaves ppf untouched.
val dump : Format.formatter -> Fpath.set -> unit
dump ppf ps prints an unspecified representation of ps on ppf.