Skip to content

[list-ops]: change // to / and swap foldl/foldr arg order to both call func(el, acc) #3403

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

Closed
wants to merge 3 commits into from
Closed

[list-ops]: change // to / and swap foldl/foldr arg order to both call func(el, acc) #3403

wants to merge 3 commits into from

Conversation

IsaacG
Copy link
Member

@IsaacG IsaacG commented Apr 12, 2023

No description provided.

@BethanyG
Copy link
Member

@IsaacG - If we are going to break existing solutions, I would vastly prefer to have foldr & foldl both be (acc, el), so that foldl is consistent with Haskell tradition. But I am going to go with your first PR, so we can be done with this debate. 😄

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