Opened 8 years ago

Last modified 2 years ago

#136 new modification

Named field punning for Haskell 2011

Reported by: iavor.diatchki@… Owned by:
Priority: normal Milestone: Haskell 201x
Version: Keywords:
Cc: Meta Owner: CLaC
State: discussion Section: N/A or multiple
Related Tickets:

Description (last modified by malcolm.wallace@…)

I'd like to propose that we add named-field punning to Haskell 2011. More concretely, I propose that we add pre-Haskell'98 style punning, combined with field disambiguation.

Implementation: These features are implemented in GHC, and can be enabled with -XNamedFieldPuns and -XDisambiguateRecordFields

Documentation: The features are described in Section 7.3.14 and Section 7.3.15 of the GHC User's Manual.

Change History (4)

comment:1 Changed 8 years ago by malcolm.wallace@…

Description: modified (diff)
Summary: Record punning for Haskell 2011Named field punning for Haskell 2011

comment:2 Changed 2 years ago by Herbert Valerio Riedel

Priority: normal

Set default priority (as this confuses Trac otherwise)

comment:3 Changed 2 years ago by Herbert Valerio Riedel

remove owners from legacy tickets

comment:4 Changed 2 years ago by Herbert Valerio Riedel

Meta Owner: CLaC
Note: See TracTickets for help on using tickets.