lensForElement
creates a Lens pointing to a certain element in a List
Parameters
element
current instance of the element to focus on
idProvider
to identify the element in the list (i.e. when it's content changes over time)
creates a Lens pointing to a certain index in a list
Parameters
index
position to focus on
creates a Lens pointing to a certain element in a Map
Parameters
key
of the entry to focus on