3 ms·
Haskell added a function popCount in https://hackage.haskell.org/package/base-4.18.0.0/docs/Data-Bits.html https://hackage.haskell.org/package/base-4.18.0.0/do
by fegu 3y ago
Haskell added a function popCount in https://hackage.haskell.org/package/base-4.18.0.0/docs/Data-Bits.html https://hackage.haskell.org/package/base-4.18.0.0/docs/Data-... some years ago to allow easy use of this operation where present.