2 lines
63 B
Common Lisp
2 lines
63 B
Common Lisp
(defun square (x) (* x x))
|
|
(map 'vector #'square #(1 2 3 4 5))
|
(defun square (x) (* x x))
|
|
(map 'vector #'square #(1 2 3 4 5))
|