Skip to content

Add Set support where Array is Already Supported #11

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
3 tasks
orchetect opened this issue Feb 23, 2025 · 0 comments
Open
3 tasks

Add Set support where Array is Already Supported #11

orchetect opened this issue Feb 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@orchetect
Copy link
Owner

orchetect commented Feb 23, 2025

Similar to Array, add native support for:

  • Storing a Set containing atomic value types
  • Storing a Set containing RawRepresentable types
  • Storing a Set containing Codable types

The underlying storage would still use Array. Set itself would not be added as another atomic value type.

To afford collection ordering stability, offer the option to sort elements if the element conforms to Comparable.

@orchetect orchetect added the enhancement New feature or request label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant