Applies a function to each element in a list
(mapcar function list ...)
Examples
(mapcar 'numberp '(a 3 b 2 4)) |
![]() |
(mapcar '- '(2 4 6 8) '(1 3 5 7)) |
![]() |
(mapcar 'car '((a b) (c d) (e f))) |
![]() |
This website has been archived and is no longer maintained.