popCount is a method of Bits, not a FiniteBits

Edward Kmett ekmett at gmail.com
Mon Dec 2 16:38:36 UTC 2019


I'm pretty strongly -1 on moving popCount. Both the Natural and the
slightly more... interesting... Integer implementations of that method have
turned out to be quite useful in practice.

-Edward

On Sat, Nov 30, 2019 at 7:17 AM Oleg Grenrus <oleg.grenrus at iki.fi> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20191202/9eeaab9e/attachment.html>


More information about the Libraries mailing list