We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently there are no laws associated with Bifunctor, I'd like to propose the following:
Bifunctor Identity:
fa.bimap(identity, identity) <-> fa
Bifunctor Composition
fa.bimap(f1, f2).bimap(g1, g2) <-> fa.bimap(f1 andThen g1, f2 andThen g2)
The text was updated successfully, but these errors were encountered:
See also #509. It is also good practice to add a comment here if you're working on this.
Sorry, something went wrong.
Fixed by #559
No branches or pull requests
Currently there are no laws associated with Bifunctor, I'd like to propose the following:
Bifunctor Identity:
fa.bimap(identity, identity) <-> fa
Bifunctor Composition
fa.bimap(f1, f2).bimap(g1, g2) <-> fa.bimap(f1 andThen g1, f2 andThen g2)
The text was updated successfully, but these errors were encountered: