Language standards for LispOS

Henry G. Baker
Wed, 21 May 1997 13:04:05 -0700 (PDT)

> In practice, you'll probably not find many cases of rest-mutation, but
> it is allowed, as long as there's no problem due to sharing with the
> last argument of APPLY. Since many typical uses are obvious for the
> compiler (assuming some knowledge about functions on lists, and some
> modest inlining, and perhaps teaching it some common idioms), I doubt
> it's really worth making false assumptions about standard code. However,
> if we want the most efficient access, and extend the standard anyway,
> we might as well do something better:

I'd like to find out who uses &rest mutation, other than the beast who
defines list as

(defun list (&rest l) l)

Really, someone who depends upon the mutable properties of &rest lists
should be taken out & shot, right?

Henry Baker
www/ftp directory URL: