Dave Cooper <david.coo...@genworks.com> writes: > On Fri, Mar 14, 2014 at 11:45 AM, Paul Tarvydas < > paultarvy...@gmail.com> wrote: > > What is the best way to write a macro that returns more than one > form to the top level? E.g. > > (in-package :xxx) > (defun ...) > > I've been wrapping a progn around the result, but LW doesn't like > it very much, and SBCL seems to hate it. > > > > That's a pretty good question. I've never been able to find a way. It > feels like it might go against some kind of fundamental principle of > macros.
This has nothing to do with macros. Please read: http://www.nhplace.com/kent/PS/Ambitious.html -- __Pascal Bourguignon__ http://www.informatimago.com/ "Le mercure monte ? C'est le moment d'acheter !"