Replies: 1 comment
-
Seems interesting, go ahead! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I work a lot with generators and I often write code like
so I would suggest something like
ray()->iterateOver($generator);
with a signature ofiterateOver(Iterable $iterator, int $max=10)
.What do you think about this feature, do you think it makes sense for me to submit a PR for it?
Beta Was this translation helpful? Give feedback.
All reactions