ngs
ngs copied to clipboard
Implement zip(Iter, Iter, ...)
Can you elaborate on this?
Input: few iterators
Output: one iterator with elements of the form [e1, e2, e3, ...]
where each eN
is corresponding element from the input iterators.
Similar to https://docs.python.org/3.3/library/functions.html#zip
This issue is already solved. please do check #stdlibs.ngs line 2738
F zip(*args)
? Works by converting to Arr
s. Far from optimal for Iter
inputs.
should I work on it too?
It's kind-of-acceptable behavior for non-Iter
s. I would leave it.
Okay.