Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(defn somework []
(let [coll [1 2 3 4 5]]
(if (nil? accum)
(def accum (first coll)))
(while (< accum 10)
(doseq [i (range (count coll))]
(def accum (+ accum (nth coll (inc i)))))))
(def accum nil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.