PROPOSAL: deprecate field labels as selectors (was Include field label puns in Haskell 2011

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Sat Feb 27 05:54:00 EST 2010


Evan Laforge <qdunkan at gmail.com>
writes:
> That's a good point, but even if not totally logical I think the
> automatic "Rec -> X" function is more important than the X meaning.

[...]

> It might be nice to do the same with update functions, but those
> aren't even generated automatically (anyone got a generics thing that
> cranks those out?).

See my other post for a way of doing both of these.

-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk




More information about the Haskell-prime mailing list