Join Slack
Actually, maybe this is the behaviour of Optics? That an Optional's setter can't set what it didn't ...
# arrow
d
dave08
03/19/2023, 12:42 PM
Actually, maybe this is the behaviour of Optics? That an Optional's setter can't set what it didn't find?
s
simon.vergauwen
03/19/2023, 2:10 PM
Yes, but it can be done with a
Lens
. I replied in the other comment.
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by