Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (1 / 5) |
Uptime: | 45:55:58 |
Calls: | 422 |
Calls today: | 1 |
Files: | 1,024 |
Messages: | 90,336 |
(let* ((temp1 (mapcar #'f1 some-list))
(temp2 (mapcar #'f2 temp1))
(temp3 (mapcar #'f3 temp2)))
(mapcar #'f4 temp3))
You could better say:
(loop for elem in some-list
collect (f4 (f3 (f2 (f1 elem)))))
(loop for elem in some-list
collect (f4 (f3 (f2 (f1 elem)))))
(map (~> abs sqrt list) '(-4 -9 25))
===>
((2) (3) (5))