How can I do exponentiation in clojure? For now I\'m only needing integer exponentiation, but the question goes for fractions too.
I think this would work too:
(defn expt [x pow] (apply * (repeat pow x)))