
4 May
2014
4 May
'14
5:15 p.m.
On Sun, 4 May 2014 22:34:34 +0200, Corentin Dupont
Hello! I have a record like this:
data A = { _bs :: [B]}
funcA :: State A () funcA = bs ??? funcB
funcB :: State B () funcB = ...
What lens operator should I use instead of ???, to update all my Bs?
Cheers, Corentin
zoom (bs.traverse) :: State B () -> State A ()