Crates.io | gen-nested-iter-yield |
lib.rs | gen-nested-iter-yield |
version | 0.1.3 |
source | src |
created_at | 2022-04-14 20:25:49.708289 |
updated_at | 2022-04-16 08:21:19.668183 |
description | A macro for creating n-nested for loops over iterators. |
homepage | |
repository | https://github.com/DominicBurkart/gen-nested-iter-yield |
max_upload_size | |
id | 567748 |
size | 10,599 |
gen-nested-iter-yield
exports a helper macro, nested_iter_yield
, which can
be used to generate n-nested for loops over identical iterators. This is
useful for generating a stream of permutations with replacement without
storing unnecessary intermediary buffers.
The macro returns a genawaiter::sync generator.