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

Swap effect order of apply2 and map2 #242

Merged
merged 2 commits into from
Mar 4, 2015
Merged

Conversation

ceedubs
Copy link
Contributor

@ceedubs ceedubs commented Feb 28, 2015

Fixes #167

I think one thing that everyone agrees on is that if we are going to
require a predictable order of effects with apply2, map2, traverse, etc
that order should be left to right.

Fixes typelevel#167

I think one thing that everyone agrees on is that if we are going to
require a predictable order of effects with apply2, map2, traverse, etc
that order should be left to right.
@ceedubs
Copy link
Contributor Author

ceedubs commented Feb 28, 2015

@mpilquist points out that the boilerplate needs to be updated as well. I'll add that to this PR.

@ceedubs
Copy link
Contributor Author

ceedubs commented Feb 28, 2015

Okay I think map3 was the only incorrect boilerplate implementation, so I think this is ready for review now.

@mpilquist
Copy link
Member

👍

1 similar comment
@non
Copy link
Contributor

non commented Mar 4, 2015

👍

non added a commit that referenced this pull request Mar 4, 2015
Swap effect order of apply2 and map2
@non non merged commit 2adf0e5 into typelevel:master Mar 4, 2015
@non non removed the in progress label Mar 4, 2015
@ceedubs ceedubs deleted the apply2-order branch March 4, 2015 22:31
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.

Apply.applyN and Apply.mapN evaluate arguments in reverse
3 participants