[Haskell] (small) records proposal for Haskell '06
joelr1 at gmail.com
Mon Jan 2 08:53:51 EST 2006
Say you turned automatic generation of accessor functions off. You
would still need accessor functions, right? What would they look like
if you were to write them by hand?
On Jan 2, 2006, at 1:43 PM, David Roundy wrote:
> This change "solves" the problem that different records in a single
> namespace cannot share field names in a simple manner. In order to
> the writing of records code with is both valid Haskell 98 and valid
> '06, I'd suggest a pragma that causes the Haskell '06 compiler to
> the accessor functions.
More information about the Haskell