-
Notifications
You must be signed in to change notification settings - Fork 567
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
Implement Lens directly on a pair #1654
Conversation
Maybe we should implement |
@derekdreery does this make sense to you? I think so, but curious if you had a more specific need that required I've run into this before; I think it does make sense to have lenses on the tuples, maybe from rank 1-8? I think an 8-tuple is a horrible idea but I think it's okay as an upper bound.. |
@cmyr @derekdreery can we get this done? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sorry, happy to see this merged.
@maan2003 Just noticed this doesn't have a matching changelog entry. Just want to make sure you have the chance if you forgot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
I see no reason not to implement it directly 🤷 and it feels more intuitive