Welcome to the CHICKEN Scheme pasting service

help understanding comparse added by jcob on Mon Nov 27 01:22:22 2017

(use irregex)

(define (objects->alists string k)
  (let* ((remainders (irregex-split "{" string))
	 (objects (map (lambda (r) (irregex-split "}" r)) remainders)))
	 (map (lambda (o) (cons 'object (k o))) objects)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What type of object does `map' expect as second argument?
Visually impaired? Let me spell it for you (wav file) download WAV