Overloaded record fields

Daniel Trstenjak daniel.trstenjak at gmail.com
Fri Jun 28 10:55:35 CEST 2013

Hi Evan,

> 1 - Add an option to add a 'deriving (Lens)' to record declarations.
> That makes the record declare lenses instead of functions.

Well, no, that's exactly the kind of magic programming language hackery,
that Haskell shouldn't be part of.

Deriving should only add something, but not change the behaviour of the underived case.

I'm really for convenience, but it shouldn't be added willy-nilly,
because in the long term this creates more harm.


More information about the Glasgow-haskell-users mailing list