lenso
lenso copied to clipboard
Swift µframework and code generator for lenses
Results
2
lenso issues
Sort by
recently updated
recently updated
newest added
Say, we have this struct: ``` swift struct Person { struct Name { let firstName: String let lastName: String } let name: Name let address: Address } ``` and this...
``` @warn_unused_result func set(newPart: Part) -> Whole { return boundLensStorage.lens.set(newPart, boundLensStorage.instance) } ``` This would make ``` data.throughLens.name.set("Daniel") ``` result in a warning. Which is good, because the code should...