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

Doc Issue : Fork can build lenses to set values on multiple lenses #43

Open
yellowbean opened this issue Dec 20, 2023 · 0 comments
Open

Comments

@yellowbean
Copy link

https://python-lenses.readthedocs.io/en/latest/tutorial/optics.html#setters

This method allows you to create a setter that can set at two different places at once.This method allows you to create a setter that can set at two different places at once.

Actually the Fork allows user to set a setter can set more than two different places at one

lens.Fork(lens[0], lens[-1],lens[2]).set(10)([1,2,3,4,5,6])

image
@yellowbean yellowbean changed the title Document: Fork can build lenses to set values on multiple lenses Doc Issue : Fork can build lenses to set values on multiple lenses Dec 20, 2023
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

No branches or pull requests

1 participant