Welcome to the CHICKEN Scheme pasting service

breadline function added by cornett on Sun Jul 7 16:04:40 2024

(define (current-environment-completions prefix)
  (let ((size (string-length prefix)))
    (filter
     (lambda (candidate) (substring=? prefix candidate 0 0 size))
     (map (o symbol->string car) (##sys#current-environment)))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string-chomp "foobar")' produce?
Visually impaired? Let me spell it for you (wav file) download WAV