Welcome to the CHICKEN Scheme pasting service

Expander bug? added by DerGuteMoritz on Wed Apr 1 23:13:35 2015

(define-syntax foo
  (let-syntax ((bar (syntax-rules ()
                      ((_ x) '(x x)))))
    (syntax-rules ()
      ((_ x) (bar x)))))

(foo 1)

;; Error: unbound variable: bar

Your annotation:

Enter a new annotation:

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