type of the item
the first sorted iterable
the second sorted iterable
Optionalcmp: Compare<T>the comparator
Merges two sorted iterables into a single sorted iterable.
Both input iterables must already be sorted according to the comparator. The resulting iterable will be sorted in the same order.
cmp must be a pure function, otherwise the correctness of reverse
iteration is not guaranteed.
type of the item
the first sorted iterable
the second sorted iterable
Optionalcmp: Compare<T>the comparator
Merges two sorted iterables into a single sorted iterable.
Both input iterables must already be sorted according to the comparator. The resulting iterable will be sorted in the same order.
type of the item
the first sorted iterable
the second sorted iterable
Optionalcmp: Compare<T>the comparator
Merges two sorted iterables into a single sorted iterable.
Both input iterables must already be sorted according to the comparator. The resulting iterable will be sorted in the same order.
cmpmust be a pure function, otherwise the correctness of reverse iteration is not guaranteed.