14 Mar
2014
14 Mar
'14
3:53 p.m.
On Fri, Mar 14, 2014 at 11:45 AM, Paul Tarvydas <paultarvydas@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.
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. Got a mini-example you can share? -hp