Open schlichtanders opened 2 years ago
I don't think we should call this a bug, since the documentation for combinations
says that it "generates all combinations of n elements from an indexable object". Since sets are not indexable, this behaviour is to be expected.
to my full surprise the
combinations
function cannot deal with Sets directly.As Sets support
iterate
andlength
, I think this is a bugUsing Combinatorics v1.0.2 on Linux Julia 1.7.1