On Thu, Jun 15, 2023 at 06:38:36PM +0000, Thiede, Christoph wrote:
I think that this discussion is being overshadowed by another issue, the iteration semantics of dictionaries. Because Dictionary>>#do: ignores the keys, there is always a sharp break when applying iteration logic from another collection to dictionaries. Thus, I think we should not discuss Collection>>#withoutDuplicates through the example of dictionaries. But given their existing iteration semantics, I'm with Vanessa on the behavior of Dictionary>>#withoutDuplicates: Keys are only metadata not relevant for iteration, so they should also not influence deduplication.
To summarize what I have read so far in this discussion:
It sounds like a good idea, but
1) There is no known use case for it. 2) It does not solve any problems. 3) It leads to confusion.
Dave