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

Allow derivation of lenses for generic types. #1120

Merged
merged 3 commits into from
Aug 11, 2020

Conversation

rjwittams
Copy link
Collaborator

Types, lifetimes and where clauses covered plus interior type parameter name clashes.

Types, lifetimes and where clauses covered plus interior type parameter name clashes.
CHANGELOG.md Outdated
@@ -117,6 +117,7 @@ This means that druid no longer requires cairo on macOS and uses Core Graphics i
- `LifeCycle::Size` event to inform widgets that their size changed. ([#953] by [@xStrom])
- `Button::dynamic` constructor. ([#963] by [@totsteps])
- `Spinner` widget to represent loading states. ([#1003] by [@futurepaul])
- Allow derivation of lenses for generic types ([#1120]) by [@rjwittams])
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be in the "Unreleased" section, not the "0.6.0" section

Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

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

Haven't thought carefully about the possible edge cases, but this looks broadly good. There's one extraneous comment that is probably an accident, otherwise this looks good to me. Thanks!

Ident::new(&candidate, Span::call_site())
};

//let ret_ty_par = G;
Copy link
Member

Choose a reason for hiding this comment

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

🗑️

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll get rid of that..

@cmyr
Copy link
Member

cmyr commented Aug 11, 2020

Thanks @rjwittams & @jneem!

@cmyr cmyr merged commit 90d81c9 into linebender:master Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-needs-review waits for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants