Proposal: Add hasBitSize to Data.Bits.Bits

Johan Tibell johan.tibell at gmail.com
Tue Aug 14 00:13:38 CEST 2012


On Mon, Aug 13, 2012 at 2:48 PM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
> How about two versions of 'bitSize' - one with Maybe return type in the Bits
> class and one without Maybe in a FixedBitSize subclass?

Is this worth breaking existing users of bitSize over? If anything it
seems more worthwhile to throw out Integer from the Bits class and
declare Bits to be for fixed sized entities.



More information about the Libraries mailing list