[GHC] #14190: Typeable imposes seemingly redundant constraints on polykinded instances

GHC ghc-devs at haskell.org
Thu Sep 7 14:42:58 UTC 2017


#14190: Typeable imposes seemingly redundant constraints on polykinded instances
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |
      Resolution:                    |             Keywords:  Typeable
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 dfeuer):

 While the superclass approach probably has the best ergonomics, it makes
 the dictionary heavier. My suggestion was to extract the typerep-of-kind
 information as required in the `DFun`s.

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


More information about the ghc-tickets mailing list