Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace reduce with recursive function call #53

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

iambumblehead
Copy link
Owner

The removed-reducer has some problematic behaviour around the reducer index value. Replacing the reducer with a recursive function removes the index value. Also, the reducer was composed in a way difficult to debug and the new function is a little easier to debug and interdict.

@iambumblehead iambumblehead merged commit 6b2d8d8 into main Oct 6, 2023
5 checks passed
@iambumblehead iambumblehead deleted the replace-reduce-with-recursive-fn branch October 6, 2023 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants