Hacker News new | ask | show | jobs
by rfergie 3528 days 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