Welcome to the CHICKEN Scheme pasting service

no title added by anonymous on Mon May 28 07:47:51 2018

(define (range n m #!optional (k 1))
  (let loop ((i n)
             (acc '()))
    (unless (>= i m))
        (cons i acc)
        (loop (+ i k) acc)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the procedure to access a character in a string by index in R5RS?
Visually impaired? Let me spell it for you (wav file) download WAV