[GHC] #12970: Add default implementation for Bits.bitSize
GHC
ghc-devs at haskell.org
Mon Jul 10 06:50:44 UTC 2017
#12970: Add default implementation for Bits.bitSize
-------------------------------------+-------------------------------------
Reporter: txnull | Owner: dfeuer
Type: feature request | Status: patch
Priority: high | Milestone: 8.4.1
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): Phab:D3723
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by dfeuer):
Replying to [comment:8 hvr]:
> Replying to [comment:7 dfeuer]:
> > I've submitted Phab:D3723 to remove `bitSize`. My only question is
whether we should add it back as a function
>
> to be fair, bitSize was deprecated 3 years ago in GHC 7.8; and when GHC
8.4 is released that'll be 4 years. If the point of a deprecation is to
eventually rid the API of the deprecated entity, 4 years (or a 4 rls
window) is IMO more than enough time for everyone to adapt... ;-)
For sure. It's a bit sad, though, that we're discarding a perfectly good
name simply because it was originally stuck in the wrong class. I guess
that's life.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12970#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list