Could someone explain functional lenses to me? It\'s a surprisingly difficult subject to google for and I haven\'t made any progress. All I know is that they provide similar
See the answer to question lenses, fclabels, data-accessor - which library for structure access and mutation is better - it has a very clear explanation on lenses.
Also, the documentation for the Data.Lenses and fclabel libraries give some good examples of them being used.