> > Should these give 0?
> >> (input-port-byte-position (open-string-input-port "foobar"))
> > 1
> >> (input-port-byte-position (open-bytevector-input-port '#vu8(1 2 3
> >> 4 5)))
> > 1
>
> I don't know. I added the 1 explicitly in line 239 (vi bias again).
> BTW, this is not the port-position of R6RS, right?
Ah, I see where it's used now. My editor counts chars starting at 1 too, and all the character positions I've jumped to have been correct. I'm so used to thinking in 0-based indexing... :) just thought to mention it.
> > Should these give 0? port-byte- position (open-string- input-port "foobar")) port-byte- position (open-bytevecto r-input- port '#vu8(1 2 3
> >> (input-
> > 1
> >> (input-
> >> 4 5)))
> > 1
>
> I don't know. I added the 1 explicitly in line 239 (vi bias again).
> BTW, this is not the port-position of R6RS, right?
Ah, I see where it's used now. My editor counts chars starting at 1 too, and all the character positions I've jumped to have been correct. I'm so used to thinking in 0-based indexing... :) just thought to mention it.