Is there any way to define a macro that expands out to a lambda, and then access the arguments passed to that lambda from outside the macro in the calling context?<br>Here&#39;s an example of what I mean:<br><br><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">#lang racket<br>

<br></font><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">(define-syntax-rule (foo form ...)<br>  ((lambda (bar) form ...) &quot;ARG&quot;))<br><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">(foo &quot;Hello&quot;) ; =&gt; returns &quot;Hello&quot;<br>

<br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">(foo bar)     ; =&gt; expand: unbound identifier in module in: bar</font><br></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>

</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">I&#39;d like access to the &quot;bar&quot; argument on the last line. Is this possible with Racket macros?</font></div>

<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Thanks,<br>Daniel</font></div>