(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 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.
alexandria-devel@common-lisp.net