You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group_by only groups consecutive elements and may produce multiple groups with the same key. This fact is very easy to miss, it is easily the biggest footgun in the whole library.
I'd like to propose deprecating this method and making it an alias of a new method, group_by_consecutive.
The new name is not at all elegant, I'd love to come up with something better. But that's probably less important than choosing to deprecate the current name.
The text was updated successfully, but these errors were encountered:
We are aware of this, see #374 for the current debate. I know it's an old issue and does not evolve fast enough but it should be resolved eventually there.
group_by
only groups consecutive elements and may produce multiple groups with the same key. This fact is very easy to miss, it is easily the biggest footgun in the whole library.I'd like to propose deprecating this method and making it an alias of a new method,
group_by_consecutive
.The new name is not at all elegant, I'd love to come up with something better. But that's probably less important than choosing to deprecate the current name.
The text was updated successfully, but these errors were encountered: