You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree this is a pain point. What I generally recommend is using setproperties/getproperties for public access and constructorof for private access. See also #54 (comment)
Sorry if I am missing the obvious, but could you please provide a suggestion to deal with the above struct so that eg Accessors.@optic _.a etc works to modify a?
I read the docs but it is still not clear how one should define the relevant interface for types that have internally calculated fields. Eg
I want the user to be able to modify (= create a new immutable with)
a
andb
, and pretend thatc
does not even exist.The text was updated successfully, but these errors were encountered: