3 ms·
"Math/pow" is actually a function on JVM level. Clojure functions are objects with special callable method. This will work: (map (partial #(Math/pow %1 %2) 2)
by dig1 5y ago
"Math/pow" is actually a function on JVM level. Clojure functions are objects with special callable method.
This will work: (map (partial #(Math/pow %1 %2) 2) [0 1 2 3])