What benefits do we get with a lens library in C or Python?
I get that state remains the same with the library of lenses, but from a practical point of view, how is it otherwise?
Examples would be very helpful.
EDIT:
What I really want to know is that having an immutable state is beneficial / disadvantageous for a lens library, for example. Can't we achieve better performance with a stateless lens?
source
share