devela::_dep::itertools

Function kmerge_by

pub fn kmerge_by<I, F>(
    iterable: I,
    less_than: F,
) -> KMergeBy<<<I as IntoIterator>::Item as IntoIterator>::IntoIter, F> 
where I: IntoIterator, <I as IntoIterator>::Item: IntoIterator, F: KMergePredicate<<<I as IntoIterator>::Item as IntoIterator>::Item>,
Available on crate feature dep_itertools only.
Expand description

Create an iterator that merges elements of the contained iterators.

IntoIterator enabled version of Itertools::kmerge_by.