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

Add composition to Representable #3831

Merged
merged 8 commits into from
Mar 29, 2021

Conversation

TimWSpence
Copy link
Member

No description provided.

@TimWSpence
Copy link
Member Author

Realized I forgot to do Nested - will push that shortly

@TimWSpence TimWSpence force-pushed the representable-instances branch from af79276 to fc7c30b Compare March 17, 2021 16:54
Base automatically changed from master to main March 20, 2021 10:41
Copy link
Contributor

@johnynek johnynek left a comment

Choose a reason for hiding this comment

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

looks good to me other than a question about if we need some implicit modifiers.

{
type Pair[A] = (A, A)

//Scala 2.12 implicit resolution absolutely loses its mind here
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need implicit if you are passing them explicitly below?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, good point. If we remove the modifier then we could probably summon some of them via implicitly as well. Thanks, I'll fix this in both PRs 👍

@TimWSpence TimWSpence requested a review from johnynek March 29, 2021 07:54
@johnynek johnynek merged commit d56a856 into typelevel:main Mar 29, 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.

2 participants