On Mon, 23 Apr 2007, Alan Bawden wrote:

>    Date: Mon, 23 Apr 2007 23:50:04 +0100 (BST)
>    From: Ben Harris <[EMAIL PROTECTED]>
>    Cc: [EMAIL PROTECTED]
> 
>    Ah, yes, I think I got carried away with the cuteness of the idea and 
>    didn't bother to check it was actually true.
> 
> And it is a cute idea.  My hat's off to you for having the original
> inspiration!

I can't take credit for the original idea -- it was suggested to me by 
Simon Tatham.

> You want symmetry?  I'll give you symmetry...  Under the revised definition
> (bitwise-not (bitwise-bit-count x)) is equal to
> (bitwise-bit-count (bitwise-not x))!

Ooh, yes, that's neat.

-- 
Ben Harris

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to