Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: groupBy transducer functionality
Fixes ramda#3232 Reverts code change in #9b5d8925 Setting the accumulator when not prsent rather than passing it tin to reducerby; this prevents the cached copy behavior causing polution of accumulators in subsequent invocations. It may be more desirable to correct the copy caching to prevent the error while still deterministically setting the accumulator; but it's in line with traditional transducer behavior to get the initial accumulator value from the transformer, albeit not quite in this fashion.
- Loading branch information