Skip to content

Add trait with type to foldLeft def #1778

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 3 commits into from
Sep 19, 2020
Merged

Add trait with type to foldLeft def #1778

merged 3 commits into from
Sep 19, 2020

Conversation

babo
Copy link
Contributor

@babo babo commented Sep 18, 2020

The original example is hard to digest as it's not clear where the A type is from.

The original example is hard to digest as it's not clear where the A type is from.
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! Here are some suggestions since TraversableOnce has been removed from Scala 2.13.

babo and others added 2 commits September 19, 2020 12:12
Co-authored-by: Julien Richard-Foy <julien@richard-foy.fr>
Co-authored-by: Julien Richard-Foy <julien@richard-foy.fr>
@babo
Copy link
Contributor Author

babo commented Sep 19, 2020

Thanks, good point, that explains while I failed to search the original source of the trait!

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 @babo! 👍

@julienrf julienrf merged commit 99af562 into scala:master Sep 19, 2020
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.

2 participants