RosettaCodeData/Task/Exponentiation-operator/Clojure/exponentiation-operator.clj
2023-07-01 13:44:08 -04:00

1 line
40 B
Clojure

(defn ** [x n] (reduce * (repeat n x)))