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

chore: add more utilities to xiter #21

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

DmitriyMV
Copy link
Member

This is breaking change PR:

  • Reorder func in xiter package, so that it's always first. That helps with several transformations in one place. See this.
  • Add Single and Single2 iterators.
  • Add Find and Find2 iterators.
  • Rename Fold to Reduce.
  • Other small changes.

This is breaking change PR:
- Reorder `func` in xiter package, so that it's always first. That helps with several transformations in one place. See [this](golang/go#61898 (comment)).
- Add `Single` and `Single2` iterators.
- Add `Find` and `Find2` iterators.
- Rename `Fold` to `Reduce`.
- Other small changes.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
@DmitriyMV
Copy link
Member Author

/m

@talos-bot talos-bot merged commit e847d2a into siderolabs:main Oct 31, 2024
13 checks passed
@DmitriyMV DmitriyMV deleted the single-fold-reduce branch October 31, 2024 23:16
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.

3 participants