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

take_left(sequence_linear(date('Y') - 3, 1), 3) infinite loop #245

Open
Maxdw opened this issue Jun 14, 2022 · 0 comments
Open

take_left(sequence_linear(date('Y') - 3, 1), 3) infinite loop #245

Maxdw opened this issue Jun 14, 2022 · 0 comments

Comments

@Maxdw
Copy link

Maxdw commented Jun 14, 2022

Expected take_left to support iterators without requiring fully iterating through it. Because sequence_linear returns an infinite iterator the take_left function is never able to provide the first $count of iteration values due to its use of array_to_iterator.

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

No branches or pull requests

1 participant