-
-
Notifications
You must be signed in to change notification settings - Fork 638
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
Either.mapLeft Javadoc seems incorrect #1670
Comments
Thank you. You are right, it is unclear. It is correct that the Either is right-biased, regardless if its left value or its right value is mapped. I will change the docs like this: "Maps the left value of this Either, if present." |
@danieldietrich Thank you. I suggest that you also explicitly say "...is a no-op if the value is a Right", or something to that effect. And at the same time, a similar phrase could be added to the |
Yes, the javadoc could be more mature throughout the project. We currently focus on the work of the other issues towards the bugfix release 2.0.5 and the next minor release 2.1.0. Contributions, especially to javadoc, are welcome! |
I'd be happy to but do you really need contribution to add 35 characters? Perhaps 70, if |
Of course not. |
v2.0.4 Either.mapLeft says:
Shouldn't it be "Maps this left-based Either"?
The text was updated successfully, but these errors were encountered: