Subject: Re: Small read macro issue From: Erik Naggum <firstname.lastname@example.org> Date: 08 Oct 2002 22:41:39 +0000 Newsgroups: comp.lang.lisp Message-ID: <email@example.com> * 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.