Lenses are a functional abstraction that have proven very useful to us
in several projects. With them, you can very effectively define, query,
and especially modify complex properties of larger data structures.
Lenses make properties first-class citizens that you can abstract
over and combine.
This article aims to show what lenses are and how to use them. The
programming language used is Clojure, which we
currently use in a lot and enjoy. Some tutorials for the language
can be found, for example, here.
Read on...