> (test
>    (defun-grab plus1 (number) (1+ number))
>    (write plus1))

...

> Is there a way to achieve this or should I just put up with all the
> defun-grab definitions being in the top level?

To avoid having to move the function defun-grab definitions to the top
of the file I have turned the "test" function into an imperative form
that concatenates a global variable. This allows me to write...

(test
  ...)

(defun-grab ...)

(test
  ...)

...and still collect the output.

Regards,
Adam



Reply via email to