Of course, after going through all of that you then see why loop is so
handy:
CL-USER> (defun nth-elements (n &rest lists)
(loop for item in lists collect (nth n item)))
NTH-ELEMENTS
CL-USER> (nth-elements 3 '(10 20 hello x world) '(-1 -2 -3 y) '(z0 z1 z2 z))
(X Y Z)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 299 |
Nodes: | 16 (2 / 14) |
Uptime: | 26:38:49 |
Calls: | 6,681 |
Calls today: | 4 |
Files: | 12,222 |
Messages: | 5,342,295 |
Posted today: | 2 |