[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: &rest replacement/addition
But can an object of type MORE-ARGS be returned from a function, or
otherwise stuffed in data structures which survive the dynamic extent
of the function call that spawned them? That's what this whole
argument started with...
I agree. Are there any examples of CL constructs which allow a
reference to an object which has only dynamic extent? The closest
thing I can think of is WITH-OPEN-FILE, but that just insures that
the stream is closed, not that it's storage is reclaimed. My
intuition is also that allowing a first-class reference for a
dynamic-extent object is a bad idea.