[GHC] #16232: Add setField to HasField
GHC
ghc-devs at haskell.org
Fri Jan 25 15:42:23 UTC 2019
#16232: Add setField to HasField
-------------------------------------+-------------------------------------
Reporter: adamgundry | Owner: adamgundry
Type: feature request | Status: new
Priority: normal | Milestone: 8.10.1
Component: Compiler (Type | Version: 8.7
checker) |
Resolution: | Keywords: ORF
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
> Sorry, to be clear, do you mean the approach of generating renamed
syntax at definition sites?
Yes -- essentially replacing the stuff where we generate record selectors
by stuff that generates this compound selector/updater function; plus
perhaps generating the legacy selector function from that.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16232#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list