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

&REST lists

    Date: Tue, 5 Jan 88 02:12 EST
    From: Glenn S. Burke <gsb@jasper.palladian.com>

    I think it is legal for APPLY to pass user-specified list structure to
    the function; if so the &REST list should be treated as read-only, as it
    well might be.

That doesn't follow.  Just because you pass a read-only list to APPLY
doesn't mean that it has to use that same list when it invokes the
function.  APPLY could COPY-LIST it.  Or in an implementation that uses
stack-consed &REST args the list elements might be copied to the stack.