Hi, I was experimenting with examples from Stu's Programming Clojure book and I'm puzzled why these two function behave differently when run in the repl:
(.start (Thread. (println "I ran!") "tName")) (.start (Thread. (proxy [Runnable] [] (run [] (println "I ran!"))) "tName")) The first function returns nil and prints I ran! to the repl window in eclipse. The second function doesn't return anything and prints I ran! to the console. What is it about proxy that changes the behavior? When I use proxy does the Java "takeover" and ignore the repl? Thanks, grahamke -- 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