factorial in clojure code example Example: how to calculate factorial clojure (apply * (range n 0 -1)) ; plug in anything for n for n factorial