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

Weaken receiver type of toPersistentHashSet to Iterable #77

Closed
GlassBricks opened this issue Jun 23, 2020 · 1 comment
Closed

Weaken receiver type of toPersistentHashSet to Iterable #77

GlassBricks opened this issue Jun 23, 2020 · 1 comment
Assignees

Comments

@GlassBricks
Copy link

GlassBricks commented Jun 23, 2020

All other toImmutable and toPersistent functions for immutable/persistent lists/sets take Iterable as their receiver, however toPersistentHashSet takes a Set.

toHashSet in the kotlin stdlib also takes Iterable.

This is inconvenient when converting from some other collection into a persistent hash set.

@qurbonzoda
Copy link
Contributor

The change was released with version 0.3.3 of this library.
Thanks for your feedback!
Please open new issues if you find any fields for improvements. Always glad to see your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants