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

Change */fold examples to use different accumulator type #1168

Merged
merged 4 commits into from
May 14, 2021

Conversation

Gabriella439
Copy link
Contributor

Fixes #1166

… to avoid confusion with the base case being called `zero` in the
second and third examples.
… by factoring out the lambda binding, which doesn't need to
be inside the assertion
@Gabriella439 Gabriella439 merged commit f6a8482 into master May 14, 2021
@Gabriella439 Gabriella439 deleted the gabriel/change_fold_examples branch May 14, 2021 15:49
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.

Use more insightful examples
2 participants