[GHC] #8280: Deriving Show for Word#

GHC ghc-devs at haskell.org
Sun Sep 22 20:20:59 CEST 2013


#8280: Deriving Show for Word#
----------------------------------------------+----------------------------
        Reporter:  monoidal                   |            Owner:  simonpj
            Type:  bug                        |           Status:  closed
        Priority:  highest                    |        Milestone:  7.8.1
       Component:  Compiler                   |          Version:  7.7
      Resolution:  fixed                      |         Keywords:
Operating System:  Unknown/Multiple           |     Architecture:
 Type of failure:  None/Unknown               |  Unknown/Multiple
       Test Case:  deriving/should_run/T8280  |       Difficulty:  Unknown
        Blocking:                             |       Blocked By:
                                              |  Related Tickets:
----------------------------------------------+----------------------------

Comment (by simonpj):

 1. Sorry
 2. See `Note [Deriving and unboxed types]` in `TcDeriv`. It should be a
 bit longer and more explicit.
 3. Grep for `wordDataCon`.   I think `Word` became wired in this commit:
 {{{
 commit 6821c8a47c0fc61a2d989d368f926cc0ded776e9
 Author: Ian Lynagh <igloo at earth.li>
 Date:   Wed Apr 23 16:11:15 2008 +0000

     Add 123## literals for Word#
 }}}

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



More information about the ghc-tickets mailing list