On Oct 19, 3:39 pm, Gorsal <s...@tewebs.com> wrote:
> Except no output! Eeek!!! What am i doing wrong?

Looks like #(fn ... is meant to be #(do ~...@body)
#(fn declares a function which creates a function, so your thread is
returning a function instead of executing it.

user=> (macroexpand-1 '(with-thread nil (println
"HasdfasdfasdfasdfasdfasdfasdfasdfI")))
(clojure.core/let [thread__2__auto__ (java.lang.Thread. (fn* []
(clojure.core/fn [] (do (println
"HasdfasdfasdfasdfasdfasdfasdfasdfI")))))] (.start thread__2__auto__)
thread__2__auto__)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to