Skip to content
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

Stream - reimplement without Pull.loop #3154

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

diesalbla
Copy link
Contributor

The methods unfoldLoop, unfoldLoopEval, and repeatPull, are written using the Pull.loop function. While this is a nice recursion scheme, a lower-order code variant may be more readable and efficient.

The methods unfoldLoop, unfoldLoopEval, and repeatPull, are written
using the `Pull.loop` function. While this is a nice recursion scheme,
a lower-order code variant may be more readable and efficient.
@mpilquist mpilquist merged commit 436b9e5 into typelevel:main Mar 20, 2023
@diesalbla diesalbla deleted the stream_fewer_Pull_loop branch July 27, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants