-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add lenses for config #15
Labels
improvement
A change or a small addition to the existing functionality
Comments
Martoon-00
added
the
improvement
A change or a small addition to the existing functionality
label
May 21, 2022
nalkuatov
added a commit
that referenced
this issue
Jun 26, 2022
Problem: It's quite unconvenient to access config-related records' fields by hand, especially when it comes to nested ones. Solution: Implement simple `makeLenses` function to derive lenses for an arbitrary product type and add common lenses operators & types.
8 tasks
nalkuatov
added a commit
that referenced
this issue
Jun 26, 2022
Problem: It's quite unconvenient to access config-related records' fields by hand, especially when it comes to nested ones. Solution: Implement simple `makeLenses` function to derive lenses for an arbitrary product type and add common lenses operators & types.
nalkuatov
added a commit
that referenced
this issue
Jun 28, 2022
Problem: It's quite inconvenient to access config-related records' fields by hand, especially when it comes to nested ones. Solution: Add lenses for config-related types and add common lenses operators & types.
8 tasks
nalkuatov
added a commit
that referenced
this issue
Jun 28, 2022
nalkuatov
added a commit
that referenced
this issue
Jul 5, 2022
nalkuatov
added a commit
that referenced
this issue
Jul 5, 2022
nalkuatov
added a commit
that referenced
this issue
Jul 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clarification and motivation
It would be very convenient if the configuration could be tuned up with lenses and it is possible to write e.g.
Note that we can be
lens
-compatible without actually depending onlens
package and rather declaring our ownLens'
type alias.Acceptance criteria
lens
package, nor onmicrolens
package.The text was updated successfully, but these errors were encountered: