JonyEpsilon / gorilla-repl

A rich REPL for Clojure in the notebook style.
http://gorilla-repl.org
MIT License
888 stars 104 forks source link

Doing println() from future() #266

Open Sdaas opened 7 years ago

Sdaas commented 7 years ago

I am a noob to Clojure, and I am loving gorilla-repl ! I am trying to understand the expected behavior on calling println() from inside a call to future(). Something like ...

(future (Thread/sleep 4000)
         (println "hello world"))

Should I expect "hello world" to be printed on the screen 4 seconds later ? Right now, I can see that the future gets realized, but I never see the output.