Module type Parameter_sig.String_collection

module type String_collection = sig .. end
Signature for a generic set of strings option.

include Parameter_sig.S
val add : string -> unit
Add a string to the string set option.
val remove : string -> unit
Remove a string from the option.
val is_empty : unit -> bool
Check if the set is empty.
val get_set : ?sep:string -> unit -> string
Get a string which concatenates each string in the set with a separator. The default separator is ", ".
val iter : (string -> unit) -> unit
Iter on each string in the set.
val fold : (string -> 'a -> 'a) -> 'a -> 'a
Fold on each string in the set.
Since Oxygen-20120901
val exists : (string -> bool) -> bool
Checks if at least one element of the set satisfies the predicate.
Since Carbon-20101201
val set_possible_values : string list -> unit
Set what are the acceptable values for this parameter. If the given list is empty, then all values are acceptable.
Since Oxygen-20120901
val get_possible_values : unit -> string list
What are the acceptable values for this parameter. If the returned list is empty, then all values are acceptable.
Since Oxygen-20120901