Closed roberthoenig closed 6 years ago
subsets
currently requires collections be indexable; use subsets(collect(my_set))
instead.
If you want I can make a PR for either
subsets
to collect the set initially, if it's not indexable,A PR for the former would be appreciated :) Could you also change the docstring in src/IterTools.jl?
The docs say that
subsets
should work on collections. For me, it works for vectors, but not for sets. Am I doing something wrong?