Module type Parameter_sig.Collection

module type Collection = sig .. end
Common signature to all collections.
Since Sodium-20150201

include Parameter_sig.S

A collection is a standard command line parameter.
type elt 
Element in the collection.
val is_empty : unit -> bool
Is the collection empty?
val iter : (elt -> unit) -> unit
Iterate over all the elements of the collection.
val fold : (elt -> 'a -> 'a) -> 'a -> 'a
Fold over all the elements of the collection.
val add : elt -> unit
Add an element to the collection
module As_string: Parameter_sig.String 
A collection is a standard string parameter
module Category: Parameter_sig.Collection_category  with type elt = elt
Categories for this collection.