Re: ANSI question (load evaluation order)



Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx> writes:

> CLHS says clearly that:
>
> defun is not required to perform any compile-time side effects. In
> particular, defun does not make the function definition available at
> compile time. An implementation may choose to store information about
> the function for the purposes of compile-time error-checking (such as
> checking the number of arguments on calls), or to enable the function
> to be expanded inline.

As much as I see the problem lies not at compile-time (COMPILE-FILE works),
but at load-time.

Nicolas.
.



Relevant Pages

  • Re: Problem with a macro from On Lisp
    ... complains about SYMB being undefined. ... defun does not make the function definition available at compile time. ... An implementation may choose to store information about the function for the purposes of compile-time error-checking, or to enable the function to be expanded inline. ...
    (comp.lang.lisp)
  • Re: ANSI question (load evaluation order)
    ... |> defun is not required to perform any compile-time side effects. ... |> compile time. ... Try MACROEXPAND on your ASSERT form and look at what the ...
    (comp.lang.lisp)