markrogoyski / itertools-php

PHP Iteration Tools Library
MIT License
140 stars 11 forks source link

README fix about multiset rules #25

Closed Smoren closed 1 year ago

Smoren commented 1 year ago

https://github.com/markrogoyski/itertools-php/blob/e13f5be9ae94ce042af5c122d70429d0027ff38e/README.md?plain=1#L961

Do we realy need this clarification?

Look at all the points:

  1. If input iterables produce duplicate items, then multiset intersection rules apply.
  2. If $minIntersectionCount is 1, then multiset union rules apply.

So i think the case (2) is redundant.

Smoren commented 1 year ago

Hi @markrogoyski,

Have you already seen this issue? I think this needs to be fixed before the next release.

markrogoyski commented 1 year ago

Hi @Smoren,

Sure, if you think it is unnecessary. I went ahead and removed it.

Smoren commented 1 year ago

Thank you @markrogoyski,

I saw your commit, but this line is repeated several times for defferent methods in README. I think we need to remove them all.

markrogoyski commented 1 year ago

Hi @Smoren,

Thanks for the heads up. I removed another one. Let me know if I missed any other comments.

Thanks.

Smoren commented 1 year ago

Hi @markrogoyski,

Thank you, I think everything is OK now!