[GHC] #7658: Support empty record update syntax

GHC cvs-ghc at haskell.org
Wed Feb 13 17:45:25 CET 2013


#7658: Support empty record update syntax
-------------------------------+--------------------------------------------
  Reporter:  glguy             |          Owner:                  
      Type:  feature request   |         Status:  closed          
  Priority:  normal            |      Milestone:                  
 Component:  Compiler          |        Version:  7.6.2           
Resolution:  wontfix           |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => wontfix


Comment:

 glguy is right: the typing of record updates currently depends critically
 on there being at least one field.  What type would you infer for this?
 {{{
 f x = x {}
 }}}
 I agree about newtype wrapper.  Very much on the radar.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7658#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list