9 ms·
So 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
by rfergie 10y ago
So 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