[alexandria-devel] MULTIPLE-VALUE-IDENTITY
(defun multiple-value-identity (&rest args) "Return its arguments as multiple values." (values-list args))
Tobias C. Rittweiler writes:
(defun multiple-value-identity (&rest args) "Return its arguments as multiple values." (values-list args))
1- What's wrong with VALUES-LIST? 2- Didn't you want to have: (multiple-value-identity (truncate 5 2)) --> 2 ; 1 ? Therefore it cannot be done as a function. And it would be useless as a macro. -- __Pascal Bourguignon__ http://www.informatimago.com/ "Remember, Information is not knowledge; Knowledge is not Wisdom; Wisdom is not truth; Truth is not beauty; Beauty is not love; Love is not music; Music is the best." -- Frank Zappa
"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
Tobias C. Rittweiler writes:
(defun multiple-value-identity (&rest args) "Return its arguments as multiple values." (values-list args))
1- What's wrong with VALUES-LIST?
Nothing, I keep on forgetting that it's just a normal function. -T.
participants (2)
-
Pascal J. Bourguignon
-
Tobias C. Rittweiler