-
Notifications
You must be signed in to change notification settings - Fork 24
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
Constraints should be open #452
Comments
Optics hierarchy is closed in |
To be fair, |
The addition is not very compositional though. User A can add their optic easily, and User B can add theirs, but if C want to use both, they will need to make A and B to talk to each other. And you cannot add something in between, like Traversal1. |
@phadej, why can't you add something in between? The diamond problem is ... annoying. |
You are right, maybe (EDIT: this is another example of non-compositionality, all additions have to preserve the "leastness" of upper bounds in |
In principle, I think it should be possible to do much more with in-betweens than |
The
Constraints
type family is closed. It seems that both conceptually and practically, it should be open.The text was updated successfully, but these errors were encountered: