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
I want to iterate over all unordered pairs in a collection A. Thanks to this package, the easiest way to do this is to use subsets(A,2), but this seems rather wasteful as it does not exploit that I know at compile time the size of the set. So I suggest to add a method subsets(xs,::Type{Val{k}}) which can do so.
I'd be happy to provide a PR, but I first wanted to check that there's a chance it will make it into this package. Also, it would be my first PR ever, so I would likely need some help along the way.
The text was updated successfully, but these errors were encountered:
I want to iterate over all unordered pairs in a collection
A
. Thanks to this package, the easiest way to do this is to usesubsets(A,2)
, but this seems rather wasteful as it does not exploit that I know at compile time the size of the set. So I suggest to add a methodsubsets(xs,::Type{Val{k}})
which can do so.I'd be happy to provide a PR, but I first wanted to check that there's a chance it will make it into this package. Also, it would be my first PR ever, so I would likely need some help along the way.
The text was updated successfully, but these errors were encountered: