ekmett/semigroups — pull request #6 by joeyadams (2012-08-13 04:30:15+00:00)
Title: Fix Bits instance for GHC 7.6

This fixes an important warning when building under GHC 7.6 RC1:

Numeric/Natural/Internal.hs:44:10: Warning:
No explicit method or default declaration for `popCount'
In the instance declaration for `Bits Natural'

This is because the `Num` constraint was removed from the `Bits` typeclass, so `popCount` and a couple other methods can no longer have default implementations. That is, unless the `DefaultSignatures` extension is used; see [ticket 7135][1].

[1]: http://hackage.haskell.org/trac/ghc/ticket/7135