module type S = sig
.. end
type 'a
t
Type of the datastructure.
val to_stream : 'a t -> 'a Stream.t
Return a stream containing all elements of given data
structure. Exact semantics depend on implementation. For
example, elements in stream may or may not be ordered.
val of_stream : 'a Stream.t -> 'a t
Return a data structure containing all elements in given stream,
fully consuming the stream. Exact semantics depend on
implementation. For example, duplicate elements in input may be
ignored if the data structure is a set.