itertools icon indicating copy to clipboard operation
itertools copied to clipboard

Add CombinationsByLen iterator

Open fyrchik opened this issue 5 years ago • 1 comments

Closes #330 .

Sometimes we need to iterate over all possible combinations of an infinite iterator. This means that every combination must be eventually met. This PR implements such a possibility.

I made it a while before, now realized that haven't made a PR yet :)

fyrchik avatar Feb 06 '20 16:02 fyrchik

@phimuemue thanks for the feedback! I have updated PR.

fyrchik avatar Feb 08 '20 14:02 fyrchik