[GHC] #3306: Improve syntax for GADT + records

GHC trac at galois.com
Sun Jul 12 22:20:58 EDT 2009


#3306: Improve syntax for GADT + records
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:                  
        Type:  feature request   |       Status:  new             
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  Compiler          |      Version:  6.10.2          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by chak):

 I recently needed class constraints in a GADT with record syntax and used
 (B) with the HEAD.  So, there is definitely a need for this.

 I definitely prefer (B) out of the two choices listed above.  I think it
 is ok to make a breaking change here.  After all, this is very
 experimental territory still.

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


More information about the Glasgow-haskell-bugs mailing list