[GHC] #10828: TH could do a better job of representing GADTs

GHC ghc-devs at haskell.org
Wed Nov 11 14:01:58 UTC 2015


#10828: TH could do a better job of representing GADTs
-------------------------------------+-------------------------------------
        Reporter:  spinda            |                Owner:  jstolarek
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Template Haskell  |              Version:  7.10.2
      Resolution:                    |             Keywords:
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 goldfire):

 Good. I understood you to mean previously that the three forms had the
 same `Foldable` instance -- not that primed forms matched the unprimed
 forms, as you've clarified here.

 So fixing this is a bit less compelling. But I still think it would be
 nice, given that TH is meant to reflect Haskell syntax, and it fails
 miserably in this corner.

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


More information about the ghc-tickets mailing list