Skip to content

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

@yellowbean

Description

@yellowbean

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions