Remove the deprecated bitSize method from the Bits class.
- rGHC Glasgow Haskell Compiler
No Unit Test Coverage
- Build Status
Buildable 16581 Build 30161: [GHC] Linux/amd64: Patch building Build 30160: [GHC] OSX/amd64: Continuous Integration Build 30159: [GHC] Windows/amd64: Continuous Integration Build 30158: arc lint + arc unit
I think I'd prefer it if bitSize because its own top-level function:
bitSize :: FiniteBits a => a -> Int bitSize = finiteBitSize
It does change the semantics a tad, but in a pretty benign way.
I'm always leery about changing tests any more than is necessary. Can't we just replace bitSize with finiteBitSize here and be done with it?