[alexandria-devel] eval-always, defun-always, etc...
Tobias C. Rittweiler
tcr at freebits.de
Fri Oct 16 08:35:49 UTC 2009
Michael Weber <michaelw+alexandria at foldr.org> writes:
> On Oct 16, 2009, at 09:50 , Attila Lendvai wrote:
>
> > I) add an eval-always to alexandria-devel
> > II) add a defun-always to alexandria-devel avoid the entire need for
> > a wrapper
> >
> > III) ?
>
> Don't add any of these kludges, and instead reorganize code such that
> EVAL-WHEN is not sprinkled throughout the code.
>
> E.g., all code that's needed in the compilation stage goes into files
> separate from run-time code, with only one EVAL-WHEN per file.
You don't even neeed EVAL-WHEN in that case; just specify that
"compilation stage" files must be loaded before compiling the other
respective files.
-T.
More information about the alexandria-devel
mailing list