[GHC] #9790: Produce coercion rules for derived Functor instances

GHC ghc-devs at haskell.org
Tue Nov 11 02:56:27 UTC 2014


#9790: Produce coercion rules for derived Functor instances
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.9
             Component:  Compiler    |         Keywords:  coercion
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Runtime     |  Related Tickets:
  performance bug                    |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:3 goldfire]:

 > I do think your idea is sound as long as the derived `Functor` instance
 has no constraints.

 That's what I was trying to get at with the bit about not depending on
 non-derived `Functor` instances.

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


More information about the ghc-tickets mailing list