3 lines
53 B
Clojure
3 lines
53 B
Clojure
|
|
;; apply a function
|
||
|
|
(map (fn [x] (* x x)) [1 2 3 4])
|