Map (higher-order function): Difference between revisions

Content deleted Content added
The function special form is not required, since there is also a lambda macro
Single line
Line 104:
 
<syntaxhighlight lang="lisp">
(maplist (lambda (l) (sqr (car l))) '(1 2 3 4 5))
'(1 2 3 4 5))
</syntaxhighlight>