In the spec for bitwise-fold, I assume "For each bit b of i from bit #0
to bit (integer-length i)" is exclusive of (integer-length i). Otherwise
the example is wrong.
The example for bitwise-for-each is wrong because that procedure's return
value is unspecified. I also assume "starting with bit #0 and ending with
bit (integer-length i)" is exclusive of (integer-length i).
Although the draft SRFI says make-bitwise-generator accepts an optional
second argument, it says nothing about the semantics of that argument.
I suspect the optional second argument specifies some number of low-order
bits to ignore.
The prototype for bits->list says it accepts only one argument, but some
of the examples have that procedure accepting a second argument.
According to the draft SRFI, the first argument to bits->list must be
non-negative. That means test-227 in chibi-test.scm is incorrect.