[GHC] #11756: Data.Functor.Classes instances for Proxy

GHC ghc-devs at haskell.org
Sat Mar 26 01:37:35 UTC 2016


#11756: Data.Functor.Classes instances for Proxy
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Core Libraries    |              Version:  8.0.1-rc2
      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 RyanGlScott):

 By all means, start adding instances if you need them.

 As I noted [https://ghc.haskell.org/trac/ghc/ticket/11135#comment:25
 here], I plan to eventually create a language extension for deriving `Eq1`
 and friends, which will make adding these kinds of instances much less
 painful in the future. But we don't derive `Eq`, `Ord`, etc. for `Proxy`
 anyway to make the instances sufficiently lazy, so we should provide
 similar treatment for `Eq1`, `Ord1`, etc.

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


More information about the ghc-tickets mailing list