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

Fix example in Array.reduce documentation #632

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

hellerve
Copy link
Member

@hellerve hellerve commented Jan 6, 2020

This PR fixes #631 by adjusting the example in Array.reduce. Thank you @Emiluren for pointing it out!

Cheers

@eriksvedang
Copy link
Collaborator

Thanks for the fix! Would it be useful enough to have a macro that does this code transformation?

@eriksvedang eriksvedang merged commit d0f2c44 into carp-lang:master Jan 7, 2020
@hellerve hellerve deleted the fix-array-reduce-example branch December 15, 2020 09:01
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.

The example for Array.reduce is incorrect
2 participants