2 ms·
Nice ! Does it work well with lenses ?
by pyrale 10y ago
Nice !
Does it work well with lenses ?
- rfergie 10y agoSo you can do something like this: data Foo = Foo { _bar :: String } data Buzz = Buzz {_bar :: String} And derive lenses? I think it doesn't - this is more than just a duplicate record name, you also end up with a duplicate `bar` lens