title: How to split a number in Clojure?
body: <p>I am looking for a nice method to split a number with <em>n</em> digits in Clojure I have these two methods:</p>
  <pre><code> (-&gt;&gt; (str 942)
        seq
        (map str)
        (map read-string)) =&gt; (9 4 2)
  </code></pre>
  <p>and...</p>
  <pre><code>(defn digits [n]
     (cons 
        (str (mod n 10)) (lazy-seq (positive-numbers (quot n 10)))))
  
  (map read-string (reverse (take 5 (digits 10012)))) =&gt; (1 0 0 1 2)
  </code></pre>
  <p>Is there a more concise method for doing this type of operation?</p>