Chris Angelico writes:
> It's not too hard to create your own dataflow class if you want one.
> It can start with any arbitrary iterable, and then have your map and
> filter methods just the same.
One thing I noticed when implementing this class (yours is better, so
I'm not posting mine :-) is
On Tue, Nov 23, 2021 at 7:47 PM Stephen J. Turnbull
wrote:
>
> Chris Angelico writes:
>
> > It's not too hard to create your own dataflow class if you want one.
> > It can start with any arbitrary iterable, and then have your map and
> > filter methods just the same.
>
> One thing I noticed whe
Chris Angelico writes:
> On Tue, Nov 23, 2021 at 7:47 PM Stephen J. Turnbull
> wrote:
> > There's also implementing zip's strict argument, eg,
> >
> > def zippymap(func, *iterables, strict=False):
> > return map(lambda x: func(*x), zip(*iterables, strict))
> >
> > and corresponding zi
On Wed, Nov 24, 2021 at 12:39 AM Stephen J. Turnbull
wrote:
>
> Chris Angelico writes:
> > On Tue, Nov 23, 2021 at 7:47 PM Stephen J. Turnbull
> > wrote:
>
> > > There's also implementing zip's strict argument, eg,
> > >
> > > def zippymap(func, *iterables, strict=False):
> > > return m