Crates.io | interleave |
lib.rs | interleave |
version | 1.0.1 |
source | src |
created_at | 2016-06-28 18:19:34.603027 |
updated_at | 2016-07-30 15:22:31.535632 |
description | An arbitrary iterator interleaver for exhaustive consumption of iterators. Each iterator is guaranteed to be no more than a single next call behind any other iterator. |
homepage | |
repository | https://github.com/BourgondAries/interleave-rs |
max_upload_size | |
id | 5520 |
size | 6,571 |
Interleave is a macro that allows you to create an iterator that interleaves its input iterators.
The reason for making this library is because Itertools only has binary interleaving.
All iterators are exhausted (return None) before the interleaver will return None.