[GHC] #12970: Add default implementation for Bits.bitSize

GHC ghc-devs at haskell.org
Fri Dec 16 07:53:28 UTC 2016


#12970: Add default implementation for Bits.bitSize
-------------------------------------+-------------------------------------
        Reporter:  txnull            |                Owner:
            Type:  feature request   |               Status:  upstream
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:
      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 hvr):

 it may make sense to also consider a DefaultSignature-based default impl
 for `bitSizeMaybe` inheriting from `FiniteBits(finiteBitSize)`

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


More information about the ghc-tickets mailing list