#3012: A little deriving for GADTs
---------------------------------+------------------------------------------
    Reporter:  guest             |        Owner:                  
        Type:  feature request   |       Status:  new             
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  Compiler          |      Version:  6.10.1          
    Severity:  minor             |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by FSalad):

 Replying to [comment:1 simonpj]:
 >  So perhaps we should accept ANY data type (GADT or whatever) with
 standalone deriving, and say "it's your fault" if the derived code doesn't
 typecheck?

 Sounds like a good idea. I've written several completely boilerplate
 instances for GADTs recently and this would have been very convenient :) I
 wouldn't find "it's your fault"-type behaviour unintuitive for
 StandaloneDeriving.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3012#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to