emacs-devel
[Top][All Lists]
Advanced

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

Re: changing multiple-value calls in emacs code.


From: Miles Bader
Subject: Re: changing multiple-value calls in emacs code.
Date: Sat, 14 Mar 2009 19:50:26 +0900

"Tobias C. Rittweiler" <address@hidden> writes:
> more "return values" may be added in future. (So you
> cannot use `destructuring-bind' on the returned list value.)

destructuring-bind understands &rest, e.g.,

   (destructuring-bind (a b &rest) '(1 2 3 4 5) (cons a b))
     => (1 . 2)

-- 
Infancy, n. The period of our lives when, according to Wordsworth, 'Heaven
lies about us.' The world begins lying about us pretty soon afterward.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]