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

revert breaking change to ‘compose’ #32

Merged
merged 1 commit into from
Jan 23, 2022

Conversation

davidchambers
Copy link
Member

While converting the source code to ES6 (#30) I had the impression that curry2 (Z.compose) was being used to avoid defining (b -> c) -> (a -> b) -> a -> c via function expressions.

I now realize that Semigroupoid's associativity law depends on the more general compose function.

@davidchambers davidchambers merged commit cea7d80 into master Jan 23, 2022
@davidchambers davidchambers deleted the davidchambers/compose branch January 23, 2022 22:57
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.

1 participant