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
Creating dictionaries from identifiable values #568
Comments
Perhaps a more useful abstraction is this (and again, I note this example is not the most performant implementation but could be a reason to offer such an initialiser in Foundation):
|
Looks like there's already something in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm considering asking the Swift developer community if they have ever found this very small enhancement as useful as I have found it to be and if they would like to see it pitched. But before I do so, do you, the repository owners, think this is a good idea? Should this go into
swift-algorithms
first? Anything other thoughts?I note this example is not the most performant implementation but could be a reason to offer such an initialiser in Foundation.
The text was updated successfully, but these errors were encountered: