[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bitwise-=

This page is part of the web mail archives of SRFI 33 from before July 7th, 2015. The new archives for SRFI 33 contain all messages, not just those from before July 7th, 2015.



Would it also be useful to have an operation

(bitwise-= a ...)

in which bit i is set in the result if bit i is the same in all the
inputs?  You can't get this function by folding, since you have to
propagate three states for each bit: consensus 1, consensus 0, and no
consensus.

(I sort of expected eqv to behave this way, but then realized that
that doesn't fit in at all to Olin's agenda of providing names for all
the two-input boolean functions.)