Skip to content
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

to(Seq) doesn't evaluate collection when called on a Seq #238

Merged
merged 9 commits into from
Aug 1, 2019

Conversation

martijnhoekstra
Copy link

Fixes #236 Not so much about elegance as about getting the job done.

NthPortal
NthPortal previously approved these changes Jul 25, 2019
Copy link
Contributor

@NthPortal NthPortal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Should LinearSeq be handled as well?

@martijnhoekstra
Copy link
Author

@NthPortal yes, I guess

@martijnhoekstra
Copy link
Author

I duplicated the logic for LinearSeq. The lack of elegance I was referring to earlier is starting to stick out even further.

@martijnhoekstra
Copy link
Author

martijnhoekstra commented Jul 28, 2019 via email

@szeiger szeiger merged commit f03c313 into scala:master Aug 1, 2019
@SethTisue SethTisue mentioned this pull request Aug 5, 2019
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.

to(Seq) doesn't force a stream, where to[Seq] did
5 participants