R6RS says:

(bitwise-copy-bit ei1 ei2 ei3)    procedure

Ei2 must be non-negative, and ei3 must be either 0 or 1. The 
bitwise-copy-bit procedure returns the result of replacing the ei2th bit 
of ei1 by the ei2th bit of ei3, which is the result of the following 
computation:
(let* ((mask (bitwise-arithmetic-shift-left 1 ei2)))
   (bitwise-if mask
             (bitwise-arithmetic-shift-left ei3 ei2)
             ei1))

Shouldn't that be "replacing the ei2th bit of ei1 by ei3"
(rather than "... by the ei2th bit of ei3")?
-- 
        --Per Bothner
[EMAIL PROTECTED]   http://per.bothner.com/

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

Reply via email to