[GHC] #11135: Migrate more of Data.Functor.* from transformers to base.

GHC ghc-devs at haskell.org
Sat Jan 2 01:20:33 UTC 2016


#11135: Migrate more of Data.Functor.* from transformers to base.
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:
            Type:  task              |               Status:  closed
        Priority:  highest           |            Milestone:  8.0.1
       Component:  libraries/base    |              Version:  7.10.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1543
       Wiki Page:                    |  Phab:D1544 Phab:D1630
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 We definitely need to add a lot more `Eq1`/`Eq2`/etc. instances than what
 are currently provided. I didn't include any instances that weren't from
 `transformers` in Phab:D1543 to keep the migration simple. Another reason
 I held off on new instances is that I'd like to be able to derive
 `Eq1`/`Eq2`/etc. with a new language extension (for which I haven't though
 a good name yet—`DeriveLiftedClasses` perhaps?) to eliminate a lot of the
 inevitable boilerplate.

 If you really need an `Eq1 StableName` instance right now, feel free to
 submit a patch to Phabricator—but I doubt I'll get around to it until
 later.

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


More information about the ghc-tickets mailing list