Skip to content

Fix Stream.take/2 and Stream.take_while/2 for Stream.Lazy #1667

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

Merged
merged 1 commit into from
Aug 29, 2013

Conversation

betawaffle
Copy link
Contributor

When an accumulator is thrown from a Stream.Lazy fun, it doesn't get unwrapped correctly for nested Stream.Lazys.

Fixes #1664

josevalim pushed a commit that referenced this pull request Aug 29, 2013
Fix Stream.take/2 and Stream.take_while/2 for Stream.Lazy
@josevalim josevalim merged commit b1cf5d9 into elixir-lang:master Aug 29, 2013
@betawaffle betawaffle deleted the lazy-throw-fix branch August 29, 2013 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Stream reduce fails when take and drop are used together
2 participants