title: Nothing happen inside my Clojure loop
body: <p>I have a small code that doesn't want to work at all when I perform a loop like the following:</p>
  
  <pre><code>...
  
      (defn my-function []
          (println "Hi")   ;this works
          (for [i (range 10)] (println "Hello")  ;this doesn't work!
            )
      )
  
  ...
  </code></pre>
  
  <p>I can't understand what the problem is, all the code inside the loop seem to be ignored, while the "Hi" print without problems</p>
  
  <p>I call 'myfunction' through a GUI button event, like this:</p>
  
  <pre><code>...
      (.append output-text (with-out-str  (time (my-function))))
  ...
  </code></pre>
  
  <p>Do you think the problem could reside in the GUI or something else I am missing? Any suggestion?
  I know I should use the REPL to test it but it doesn't work with Netbeans... :S</p>
  
  <p>Thanks very much for your help.</p>