title: Returning a value from a loop
body: <p>I'm new to Clojure and was hoping SO could help me out here:</p>
  
  <pre><code>;; a loop to collect data
  (defn read-multiple []
    (def inputs (list))
  
    (loop [ins inputs]
      (def input (read-val "&gt;"))
      (if (not= input "0")
        (recur (conj ins input)))
      (i-would-like-to-return-something-when-the-loop-terminates)))
  </code></pre>
  
  <p>How do I, after collecting the input, get a list of all the input collected thus far?</p>