No, when I write "true" I mean what RnRS means, namely "not #f", and when I
write "false" I mean "is #f".

On Sat, Feb 18, 2023 at 6:08 PM Bradley Lucier <[email protected]>
wrote:

> I have some questions about the specification of bitwise-unfold.
>
> ========================================
> Generates a non-negative integer bit by bit, starting with bit 0. If the
> result of applying stop? to the current state (whose initial value is
> seed) is true,
> ========================================
> By "true", does it mean any value other than #f?  (I presume yes.)
>
> ========================================
> return the currently accumulated bits as an integer. Otherwise, apply
> mapper to the current state to obtain the next bit of the result by
> interpreting a true value as a 1 bit and a false value as a 0 bit.
> ========================================
> I presume the only "false value" is #f.
>
> By "true value" does it mean anything other than #f?  Or does the result
> need to be boolean, the value #t?
>
> Thanks.
>
> Brad
>

Reply via email to