On Fri, Jun 26, 2020 at 8:47 AM John Cowan <xxxxxx@ccil.org> wrote:
I'm confused:

~/Downloads/chibi-scheme/lib:master$ grep -R '(define (string-cursor->index' *
chibi/string-test.sld:      (define (string-cursor->index str i) i))))
chibi/string.sld:      (define (string-cursor->index str i) i)
chibi/regexp.sld:      (define (string-cursor->index str off) off)
init-7.scm:  (define (string-cursor->index str off) off)

Those are all cond-expanded.  grep 'string-cursor->index' opcodes.c.
Or just type (string-cursor->index "abc" #f) into Chibi and see what you get.

--
Alex