Re: ANSI question (load evaluation order)



Christophe Rhodes <csr21@xxxxxxxxx> writes:

> Nicolas Neuss <my.name@xxxxxxxxxxxxxxxxxxxxx> writes:
>
>> should the following work or do I have to wrap the function definition in
>> an (EVAL-WHEN (:LOAD-TOPLEVEL)...)?
>
>> [...]
>> (assert (documentation 'test 'function))
>
> I believe that no implementation is ever required not to signal an
> error on this form, as they are free to discard documentation strings
> at any time for any reason. Is there a test case you can provide
> without the DOCUMENTATION function?

No, because my idea was to use the documentation string for generating also
an interactive demo:-)

Hmm, maybe the idea is not really that good. At least, I should accept it
to be NIL.

Nicolas.
.



Relevant Pages

  • Re: ANSI question (load evaluation order)
    ... Nicolas Neuss writes: ... > should the following work or do I have to wrap the function definition in ... as they are free to discard documentation strings ...
    (comp.lang.lisp)
  • Re: ANSI question (load evaluation order)
    ... > should the following work or do I have to wrap the function definition in ... defun is not required to perform any compile-time side effects. ... defun does not make the function definition available at ...
    (comp.lang.lisp)