On Sunday, June 25, 2017, Wes Turner <wes.turner@gmail.com> wrote:
On Sunday, June 25, 2017, Danilo J. S. Bellini <danilo.bellini@gmail.com> wrote:I often use generators, and itertools.chain on them.
What about providing something like the following:
a = (n for n in range(2))
b = (n for n in range(2, 4))
tuple(a + b) # -> 0 1 2 3
AudioLazy does that: https://github.com/danilobellini/audiolazy - Stream() << obj<< is __lshift__()<<= is __ilshift__()Do Stream() and __lshift__() from fn.py not solve here?
--Danilo J. S. Bellini
---------------
"It is not our business to set up prohibitions, but to arrive at conventions." (R. Carnap)