<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>96709</integer>
    </number>
    <user>
      <string>vgeddes</string>
    </user>
    <title>
      <string>macros</string>
    </title>
    <contents>
      <string>vgeddes@pudding:~$ cat test.scm 

(define-syntax foo
  (lambda (e r c)
    (let-values (((x y) (values 1 2)))
      (+ x y))
    `(+ 4 5)))

(print (foo))


vgeddes@pudding:~$ csc test.scm -o foo

Error: during expansion of (foo ...) - unbound variable: y

	Call history:

	&lt;syntax&gt;		(##core#begin (print (foo)))
	&lt;syntax&gt;		(print (foo))
	&lt;syntax&gt;		(foo)
	&lt;eval&gt;		(let-values (((x y) (values 1 2))) (+ x y))
	&lt;eval&gt;		(((x y) (values 1 2)))
	&lt;eval&gt;		((x y) (values 1 2))
	&lt;eval&gt;		(values 1 2)
	&lt;eval&gt;		(x y)	&lt;--

Error: shell command terminated with non-zero exit status 17920: /usr/local/bin/chicken test.scm -output-file foo.c
</string>
    </contents>
    <universal-time>
      <integer>3478155237</integer>
    </universal-time>
    <channel>
      <string>#chicken</string>
    </channel>
    <colorization-mode>
      <string>Scheme</string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </paste>
</paste-with-annotations>
