On Sun, Sep 18, 2011 at 5:20 PM, Joachim Breitner <mail@joachim-breitner.de> wrote:
Hi,
Am Sonntag, den 18.09.2011, 17:11 -0400 schrieb Edward Kmett:
> I should have mentioned. This function asumes that the input n is notthat is fine, that is in invariant that holds for my bit array.
> equal to 0.
But I guess we’d need to use CPP magic to separate bitness – my code
uses whatever "Word" means. Or does it work gracefully on 32?
How about adding it to Data.Word (then I don’t feel responsible for
getting it fast and can just use it :-))