popCount is a method of Bits, not a FiniteBits

Oleg Grenrus oleg.grenrus at iki.fi
Sat Nov 30 15:20:55 UTC 2019


Although, popCount for Integer/Natural kind of makes sense, as they 
aren't infinite list of [Bit]s, but smarter structure.

On 30.11.2019 17.17, Oleg Grenrus wrote:
> I propose to change it to be member of FiniteBits
>
> I recall, there was a proposal to remove bitSize from Bits, so it's an 
> opportunity to introduce another small, yet breaking change at the 
> same time.
>
> Discussion time 2 week.
>
> - Oleg
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries


More information about the Libraries mailing list