You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.