base: Add default implementation for Data.Bits.bitSize
authorBen Gamari <bgamari.foss@gmail.com>
Sun, 17 Jun 2018 03:44:03 +0000 (23:44 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 17 Jun 2018 03:44:04 +0000 (23:44 -0400)
commit4cd552184cbc5bed33da21497537df4e400a1a2f
tree2ee01f16e0b16f2f0273e47cb3d3e6d40b753455
parentd55035f5fe1312f81a7d3af397d117820e85ad57
base: Add default implementation for Data.Bits.bitSize

Fixes #12970 and will provide a reasonable migration path for the
eventual remove of this function.

Test Plan: Validate

Reviewers: ekmett, hvr

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #12970

Differential Revision: https://phabricator.haskell.org/D4857
libraries/base/Data/Bits.hs
libraries/base/changelog.md