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

Deprecate Iterable.traverse & niche APIs. Hygiene on docs. #2963

Merged
merged 20 commits into from
Mar 24, 2023

Conversation

nomisRev
Copy link
Member

@nomisRev nomisRev commented Mar 7, 2023

Some changes overlap with #2960 from @abendt, namely changes to seperateIor and unalign so I'm keeping this PR as a DRAFT until that work is finished. Some more deprecations need to happen here, but they're being made in #2935 so this PR will also wait until those changes are merged.

In addition to deprecating Iterable.traverse methods in favour of DSL + map I've also deprecated:

  • replicate
  • ifThen in favour Kotlin Std functionality flatMap(ffa).ifEmpty<List<B>

I think most methods such as crossWalk, align and padXXX are useful methods to keep for Iterable.kt.

@nomisRev nomisRev added the 1.2.0 Tickets belonging to 1.1.2 label Mar 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2023

@nomisRev nomisRev marked this pull request as ready for review March 10, 2023 16:07
Copy link
Member

@serras serras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments, mostly about style.

@arrow-kt arrow-kt deleted a comment from rafaparadela Mar 16, 2023
@nomisRev nomisRev changed the title Deprecate Iterable.traverse, and some niche APIs. Hygiene on Iterable documentation Deprecate Iterable.traverse & niche APIs. Hygiene on docs. Mar 17, 2023
Copy link
Collaborator

@franciscodr franciscodr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor comments

@serras serras merged commit 9d8dc5f into main Mar 24, 2023
@franciscodr franciscodr deleted the sv-deprecate-iterable branch March 24, 2023 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.2.0 Tickets belonging to 1.1.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants