-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: take items from stream while value is less than a max value #378
Comments
Sorry, figured it out
paired with
|
Glad you worked this out, and with pure highland you're spot on what you're looking for. One note to be aware of - transducer support was added in #223 and |
@LewisJEllis - is this something that you'd like as a pull request for highland? Happy to add it with tests. |
Probably not now, but almost definitely after 3.0 and the module system. We try to keep the core lib from becoming a 'kitchen sink', but |
@LewisJEllis thanks for that, is there a ballpark for the 3.0 release? |
Soon™ 😉 Not committing to anything here, but possibly some time in the next 6 months? We're tracking progress over at #179, although we've not made much progress for the last couple of months. |
PR with takeWhile #677 , thanks! |
Hi, I've got a quick quesiton about how to take items from an infinite stream - I'd like to be able to do something like below.
Is this supported with the methods or would I have to implement something? Take does this by using slice. I could estimate how many i need using some maths but I thought it would be nice just to have a clause that stops the stream after enough has been pulled. Is this doable?
Thanks
Neil
The text was updated successfully, but these errors were encountered: