[GHC] #10512: Generic instances missing for Int32, Word64 etc.

GHC ghc-devs at haskell.org
Sun Jun 14 21:32:52 UTC 2015


#10512: Generic instances missing for Int32, Word64 etc.
-------------------------------------+-------------------------------------
        Reporter:  andreas.abel      |                   Owner:  ekmett
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Core Libraries    |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by ekmett):

 > In fact, I've wondered if we shouldn't *remove* all the instances for
 base types altogether.

 Actually from talking to Eric Mertens on the topic I now agree.

 The goal with generics is usually to get down to "leaves" that you know
 how to handle. This actively gets in the way of handling certain kinds of
 leaves.

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


More information about the ghc-tickets mailing list