- bit-swap index1 index2 iprocedure
Returns an integer the same as i except that the index1th bit and the index2th bit have been exchanged.
(bit-swap 0 2 4) => #b1
Returns an integer the same as i except that the index1th bit and the index2th bit have been exchanged.
(bit-swap 0 2 4) => #b1