Skip to content

Add toList method to Tuple #9210

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 4 commits into from
Jun 24, 2020

Conversation

anatoliykmetyuk
Copy link
Contributor

Usually you do not want to work with Arrays
when doing typeclass derivation, you want Lists.
Currently the only way to get a List from a
Tuple is toArray.toList, which is cumbersome.

Usually you do not want to work with Arrays
when doing typeclass derivation, you want Lists.
Currently the only way to get a List from a
Tuple is `toArray.toList`, which is cumbersome.
Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

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

A small improvement on the docs. Otherwise LGTM

Co-authored-by: Nicolas Stucki <[email protected]>
@anatoliykmetyuk anatoliykmetyuk merged commit 640de3c into scala:master Jun 24, 2020
@anatoliykmetyuk anatoliykmetyuk deleted the add-toList-to-tuples branch June 24, 2020 15:54
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