4 ms·
How do you update a deeply nested immutable type in kotlin?
by googlryas 4y ago
How do you update a deeply nested immutable type in kotlin?
- david_allison 4y agohttps://arrow-kt.io/docs/optics/lens/ https://arrow-kt.io/docs/optics/lens/
- ackfoobar 4y agoLenses work today. And I think the value class feature will be awesome. https://github.com/Kotlin/KEEP/blob/master/notes/value-classes.md#deep-mutations https://github.com/Kotlin/KEEP/blob/master/notes/value-class...