[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposal LOAD-TIME-EVAL:REVISED-NEW-SPECIAL-FORM



>     If I hear some favorable
> feedback on what I've got so far, I'll finish it up the rest of it.

It looks good to me.

>    Implementations must guarantee that each reference to a LOAD-TIME-VALUE 
>    expression within a form to be evaluated results in at least one 
>    evaluation of <form>.  It is not permissible to "collapse" either 
>    multiple references to the same (EQ) LOAD-TIME-VALUE expression or 
>    EQUAL expressions. 
...
>    The prohibition against collapsing of shared or EQUAL LOAD-TIME-VALUE
>    expressions prevents problems that could result by performing destructive
>    side-effects on a value that is referenced in more than one place.

So maybe collapsing needs to be prohibited only when the read-only-p
argument is NIL?