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

Add Enumerable(T)#to_set(& : T -> U) : Set(U) forall U #12654

Merged

Conversation

caspiano
Copy link
Contributor

An extension of #12643 to transform the elements of an Enumerable when creating a Set.

This is primarily for completeness with respect to to_a and to_h with block overloads.

@caspiano
Copy link
Contributor Author

caspiano commented Nov 1, 2022

Not a staggering number of occurrences, but they exist

@straight-shoota straight-shoota added this to the 1.11.0 milestone Dec 12, 2023
@straight-shoota straight-shoota merged commit 0b251d4 into crystal-lang:master Dec 13, 2023
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants