Transform Focused Value
Applies a function to the value focused by a lens and returns the updated structure.
data (Any): The input
structure.
lens (Lens): The lens defining the
focus.
func (Function): The transformation
function.
The updated structure.