module Set:sig
..end
Path sets.
include Set.S
typet =
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
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
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
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
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:(Stdlib.Format.formatter -> unit -> unit) ->
(Stdlib.Format.formatter -> Fpath.path -> unit) ->
Stdlib.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 : Stdlib.Format.formatter -> Fpath.set -> unit
dump ppf ps
prints an unspecified representation of ps
on
ppf
.