-
Notifications
You must be signed in to change notification settings - Fork 1k
Conversion Between Option and Collection #1983
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
Conversation
why closed? (sometimes reviews are slow in this repo, sorry about that) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @mario-galic! I agree that it would be great to document better the relation between Option
and the Scala collections, thank you so much for helping with that!
I’m not sure about some directions taken in the article, I’ve left some comments to explain my point of view. Please let me know what you think about it!
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your quick response!
What do you think of the following additional suggestions?
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
_overviews/collections-2.13/conversion-between-option-and-collection.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thank you for your contribution!
Hello @mariogalic, would it be possible for you to clean the git history? Ideally, each contribution should be self-contained in a single commit. |
- Clarify if Option is considered a collection by summarising discussion at Make Option extend IterableOnce #8038 - Document implicit conversion option2iterable
Hi @julienrf, it should be done - I squashed all commits into single one and force pushed. |
Option
is considered a collection by summarising discussion at Make Option extend IterableOnce #8038option2iterable