From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!wanadoo.fr!freenix!deine.net!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Small read macro issue Date: 08 Oct 2002 22:41:39 +0000 Organization: Naggum Software, Oslo, Norway Lines: 21 Message-ID: <3243105699171281@naggum.no> References: <3242987175062451@naggum.no> <3242995842037739@naggum.no> <3243028580124863@naggum.no> <3243031919607252@naggum.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1034116899 6633 129.240.65.5 (8 Oct 2002 22:41:39 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 8 Oct 2002 22:41:39 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:43494 * Vassil Nikolov | Where the caller accepts exactly one value, certainly. But are | there any cases where the caller accepts a variable number of | values, up to N-1, and is explicitly defined to ignore the Nth | value and beyond? Or is there a general rule to that effect? If you accept n values in `multiple-value-bind´, any extraneous values are ignored. Missing values are even bound to `nil´. The one exception to this is `multiple-value-call´ where the returned values are arguments to another function, but that is because Common Lisp does not ignore extraneous arguments to functions without `&rest´, nor accept fewer arguments to function without `&optional´ or `&key´. So, where is the function that accepts one optional argument and which is called with `multiple-value-call´ of the values of reader macro functions? -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.