|
|
|
|
|
by imdoor
2095 days ago
|
|
Does the proposal have any effect on lens usage? EDIT: I mean, lenses and RecordDotSyntax both provide a way to access nested fields in records, so the new syntax would take away some of the reasons to use lenses. But are there any other relations among the two, or do lenses and RecordDotSyntax just provide two different solutions to the same problem? |
|
- Mutation of nested records,
- Iteration of collections,
- Folding of collections,
- Viewing discriminated cases that may or may not exist,
- Building a structure around a value, and so on and so forth.