fork download
  1. (defn sum [n]
  2. (loop [cnt n acc 0]
  3. (if ( zero? cnt) acc
  4. (recur (dec cnt) (+' cnt acc)))))
  5.  
  6. (print (sum 100000))
Success #stdin #stdout 1.99s 335488KB
stdin
Standard input is empty
stdout
5000050000