You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chapter 3 compose is shown to use the array reduce function, along with being discussed that way in the next.
Doesn't this differ from tradition convention though. Using reduce is traditionally a pipe as it operating left-to-right. The name compose is usually used for a right-to-left pipe where reduceRight is used. Just including the following link as an example of what I mean: https://aparnajoshi.netlify.app/javascript-pipe-and-compose-functions
Obviously is this book compose is being used for reduce operations acting left-to-right.
The text was updated successfully, but these errors were encountered:
Hello, not really an issue but something I am just unsure about.
In chapter 3 compose is shown to use the array reduce function, along with being discussed that way in the next.
Doesn't this differ from tradition convention though. Using reduce is traditionally a pipe as it operating left-to-right. The name compose is usually used for a right-to-left pipe where reduceRight is used. Just including the following link as an example of what I mean: https://aparnajoshi.netlify.app/javascript-pipe-and-compose-functions
Obviously is this book compose is being used for reduce operations acting left-to-right.
The text was updated successfully, but these errors were encountered: