Skip to content

Partition map #256

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Partition map #256

wants to merge 7 commits into from

Conversation

iDmitriyy
Copy link

MR is made as the result of the discussion with @natecook1000 : https://forums.swift.org/t/add-splitmap-function-to-swift-standard-library/69321

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

@iDmitriyy
Copy link
Author

iDmitriyy commented Apr 17, 2025

One thing needed to discuss. As we decided to not make internal Either enum public, current names are PartitionMapResult2 and PartitionMapResult3.
While these types are made for concrete purpose, names are felt to be very long. My current thoughts are to use shorter names like PartitionMap2 and PartitionMap3, OneOf2Result / OneOf3Result or _OneOf2 / _OneOf3 .

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.

1 participant