401 |
These features permit you to write code to be evaluated during |
These features permit you to write code to be evaluated during |
402 |
compilation of a program. |
compilation of a program. |
403 |
|
|
404 |
@defspec eval-and-compile body |
@defspec eval-and-compile body@dots{} |
405 |
This form marks @var{body} to be evaluated both when you compile the |
This form marks @var{body} to be evaluated both when you compile the |
406 |
containing code and when you run it (whether compiled or not). |
containing code and when you run it (whether compiled or not). |
407 |
|
|
410 |
preferable when @var{body} is large. |
preferable when @var{body} is large. |
411 |
@end defspec |
@end defspec |
412 |
|
|
413 |
@defspec eval-when-compile body |
@defspec eval-when-compile body@dots{} |
414 |
This form marks @var{body} to be evaluated at compile time but not when |
This form marks @var{body} to be evaluated at compile time but not when |
415 |
the compiled program is loaded. The result of evaluation by the |
the compiled program is loaded. The result of evaluation by the |
416 |
compiler becomes a constant which appears in the compiled program. If |
compiler becomes a constant which appears in the compiled program. If |
470 |
@c This is implemented with a defun, but conceptually it is |
@c This is implemented with a defun, but conceptually it is |
471 |
@c a special form. |
@c a special form. |
472 |
|
|
473 |
@defspec with-no-warnings body... |
@defspec with-no-warnings body@dots{} |
474 |
In execution, this is equivalent to @code{(progn @var{body}...)}, |
In execution, this is equivalent to @code{(progn @var{body}...)}, |
475 |
but the compiler does not issue warnings for anything that occurs |
but the compiler does not issue warnings for anything that occurs |
476 |
inside @var{body}. |
inside @var{body}. |