Re: [slime-devel] transpose-lists
9 Aug
2005
9 Aug
'05
9:39 p.m.
Denis Bueno writes:
(defun transpose-lists (lists) (cond ((some #'null lists) '()) (t (cons (mapcar #'car lists) (transpose-lists (mapcar #'cdr lists))))))
Is it the sun? Are we becoming silly?
(defun transpose-lists (lists) (apply (function mapcar) (function list) lists))
If you had actually *read* Edi's first e-mail, it was because CALL-ARGUMENTS-LIMIT and APPLY that the new solution was originally conceived.
Oh! Sorry then. -- "Klingon function calls do not have "parameters" -- they have "arguments" and they ALWAYS WIN THEM."
7116
Age (days ago)
7116
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pascal Bourguignon