-
Notifications
You must be signed in to change notification settings - Fork 17
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
Multi argument modify? #137
Comments
Oh, it looks useful. It's a bit like Maybe all the field names and values except the one specified by the lens have to match? Throwing when it's not the case seems to be useful to avoid the footgun. Though I guess it's not implementable only by using lens. I guess you can do this by setting the value from the first object to other objects and then make sure everything is equal. Regarding the method signature, for this function, I think having |
FYI, I created something similar called
|
From time to time, I do an add hoc implementation of the following functionality:
Usage is as follows:
It has footgun potential though:
The text was updated successfully, but these errors were encountered: