itertools

Function kmerge_by

Source
pub fn kmerge_by<I, F>(
    iterable: I,
    less_than: F,
) -> KMergeBy<<I::Item as IntoIterator>::IntoIter, F> 
Expand description

Create an iterator that merges elements of the contained iterators.

Equivalent to iterable.into_iter().kmerge_by(less_than).