Library
Module
Module type
Parameter
Class
Class type
choose s
is an element of s
or None
is s
empty. The chosen element is equal for equal sets.
val pp :
?sep:(Stdlib.Format.formatter -> unit -> unit) ->
(Stdlib.Format.formatter -> elt -> unit) ->
Stdlib.Format.formatter ->
t ->
unit
pp ~sep pp_elt ppf s
formats the elements of s
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.