-
Notifications
You must be signed in to change notification settings - Fork 363
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
java.util.Optional support in the standard library #321
Comments
I never defined three distinct methods for unwrapping, in my experience |
I propose to reconsider this section, should we provide a dedicated constructor for this type, only for completeness? I think that |
@fvasco please mind the note in the beginning of that section: it's excluded from the proposal. |
While the goal of such addition as stated in the KEEP would be to help with Java interop, I'm afraid providing this many helpers may encourage the use of Like @fvasco, I believe Kotlin only really needs
Also, |
This issue is for discussion of the proposal to introduce convenience extensions for
java.util.Optional
type in the standard library.The text was updated successfully, but these errors were encountered: