Skip to content

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

Merged
merged 1 commit into from
Jun 28, 2021
Merged

Conversation

mariogalic
Copy link
Contributor

@mariogalic mariogalic commented Apr 10, 2021

@mariogalic mariogalic closed this Apr 14, 2021
@SethTisue
Copy link
Member

why closed?

(sometimes reviews are slow in this repo, sorry about that)

@mariogalic mariogalic reopened this Apr 15, 2021
Copy link
Contributor

@julienrf julienrf left a 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!

Copy link
Contributor

@julienrf julienrf left a 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?

Copy link
Contributor

@julienrf julienrf left a 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!

@julienrf
Copy link
Contributor

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
@mariogalic
Copy link
Contributor Author

Hi @julienrf, it should be done - I squashed all commits into single one and force pushed.

@julienrf julienrf merged commit 4765032 into scala:main Jun 28, 2021
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.

3 participants