[stdlib] Added once iterator#6604
Conversation
NathanSWard
left a comment
There was a problem hiding this comment.
Thanks again for this! Left a few comments that should be addressed before merging in, but overall this look good!
Thanks for the instructive review @NathanSWard. |
NathanSWard
left a comment
There was a problem hiding this comment.
also, looks great, thanks!
|
!sync |
|
Hi @NathanSWard, I wanted to follow up on the status of this PR. It has been some time that it was imported internally, but has not been merged to main yet. I now see that there are some conflicts with the |
|
Hey @gsmyridis Thanks for pining me for the reminder :D |
Linked issue
Partly addresses #6589 along with PR #6603.
Type of change
Motivation
Discussed in #6589.
What changed
Added the
onceiterator, that yields an element exactly once. For instanceTesting
Added new tests and successfully ran the full test suite.
Checklist
agreed-upon, or this is a trivial fix that does not need prior
approval
smaller PRs where possible (see
pull request sizes)
./bazelw run formatto format my changesAssisted-by:trailer in my commit message or this PR description (seeAI Tool Use Policy)