Re: Iterator Functions

2018-04-16 Thread Isiah Meadows
I've got a proposal that kind of attacks this from a different angle: - https://github.com/isiahmeadows/lifted-pipeline-strawman It targets streams, but it can also work with iterables/iterators. In fact, combining functionality that could be exposed to streams and iterators identically was one o

Re: Iterator Functions

2018-04-16 Thread Pranay Prakash
A buddy of mine has actually been working on implementing array producers/consumers as a library, and I think that's a good solution. i.e. iterators are a nice native addition that can power functionality like this in userland, and library authors can create libraries to make it easier to use in us