Closed marcandre closed 3 years ago
join
may sound a bit like a math term (something like union), but hopefully it's not in the set theory and it's okay.
@knu can we merge this please?
I don't have a strong opinion on this. Could this be escalated into proposing Enumerable#join by any chance?
I put a reminder in my request that Enumerable#join
is problematic in general, in particular Struct
, but shouldn't be for sets.
So what's the final verdict?
[Fix #16991]
This PR simply defers the work to
Array
; I don't particularly care what happens to elements of sets that would be arrays or sets themselves (i.e. ifjoin
is recursive on them or not).