-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
[IHNFIWIWD] The compose function is executed left to right #117
Comments
Indeed, that was a mistake when implementing it but it’s probably too late to fix that now in a sane way. The only way I would see is adding a function with a different name to do the right thing. |
Ah, yeah, that's a tough one. A good solution might be to just be very explicit about that functionality in the documentation. I only noticed it was happening after spending some time trying to debug a function that was using |
Is it too harmful to break the current interface and make |
@MarcoWorms I wouldn’t wanna do this for 1.x but I could very well imagine doing this for 2.x. |
Will be addressed with 2.0 |
It's pretty unusual behavior for
compose
to execute left to right. Every othercompose
implementation I've come across executes right to left. One other issues is that this behavior isn't documented indocs/functional-php.md
The text was updated successfully, but these errors were encountered: