<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 14, 2014 at 11:45 AM, Paul Tarvydas <span dir="ltr"><<a href="mailto:paultarvydas@gmail.com" target="_blank">paultarvydas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What is the best way to write a macro that returns more than one form to the top level? E.g.<br>
<br>
(in-package :xxx)<br>
(defun ...)<br>
<br>
I've been wrapping a progn around the result, but LW doesn't like it very much, and SBCL seems to hate it.<br></blockquote><div><br></div><div>I suspect you are making some other mistake, I do that all the time and the spec says forms in a toplevel progn are effectively toplevel.</div>
<div><br></div><div>Got a mini-example you can share?</div><div><br></div><div>-hp</div><div><br></div></div>
</div></div>