-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Some existing optics, such as Elements()
, If()
and Recursive()
, can only be modify
ed - one cannot retrieve the values specified by them. I understand that it's not obvious how to implement optic(obj)
for them and even what type it should return. However, from time to time I try to reach for this functionality: either to specifically extract the corresponding values, or just to see what values modify
would be called with.
Do you think it's possible to design value extraction for those optics in a consistent manner?
Metadata
Metadata
Assignees
Labels
No labels