[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: &rest replacement/addition
- To: rst@Think.COM
- Subject: Re: &rest replacement/addition
- From: mike%acorn@oak.lcs.mit.edu (mike@gold-hill.com any day now)
- Date: Tue, 5 Apr 88 06:53 est
- Cc: Sean.Engelson@spice.cs.cmu.edu, barmar@Think.COM, common-lisp@sail.stanford.edu, spe@spice.cs.cmu.edu
- Comments: NOTE %acorn@oak... WILL BECOME @GOLD-HILL.COM ANY DAY NOW
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.
...mikeb