Welcome to the CHICKEN Scheme pasting service

ir macro in a module added by carl on Tue May 15 15:46:28 2012

; csc -s test-m1.scm -J
(module test-m1 *
(import chicken scheme)

(define-syntax m1
  (ir-macro-transformer
    (lambda (x i c)
      `(begin
         ,@(map (lambda(f)
            `(define (,(i f) . a)
               (printf "> ~S~%"  a)))
            (cadr x))))))

(m1 (p1 p2 p3))

)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the result of `(let ((- +)) (- 4 3 8))'?
Visually impaired? Let me spell it for you (wav file) download WAV