Add Exercise 2.23
This commit is contained in:
parent
d7215f85ca
commit
2e5b4cee2d
@ -141,3 +141,7 @@ and upper bound."
|
|||||||
|
|
||||||
(defun square-list-mapcar (items)
|
(defun square-list-mapcar (items)
|
||||||
(mapcar #'(lambda (x) (* x x)) items))
|
(mapcar #'(lambda (x) (* x x)) items))
|
||||||
|
|
||||||
|
;; Exercise 2.23
|
||||||
|
(defun for-each (func thing)
|
||||||
|
(mapcar func thing))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user