Welcome to the CHICKEN Scheme pasting service

map-destruct added by mario-goulart on Wed Feb 12 17:55:05 2014

(use matchable)

(define-syntax lambda*
  (syntax-rules ()
    ((_ (args ...) body ...)
     (match-lambda ((args ...)
                    body ...)))))
     

(map (lambda* (foo bar baz)
       (+ foo bar baz))
     '((1 2 3)
       (4 5 6)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Name of the CHICKEN interpreter:
Visually impaired? Let me spell it for you (wav file) download WAV