Re: testing the reader...

2009-05-01 Thread Julien
Thanks a lot for this thorough explanation. I appreciate it. Changing \"(println text1)\" to \"(println user/text1)\" actually do the job. I had to read it several time to begin to understand but I do have a better understanding of how compilation and namespaces work now. Thank you Stephen. --~-

Re: testing the reader...

2009-04-30 Thread Stephen C. Gilardi
On Apr 30, 2009, at 9:43 AM, Julien wrote: -here's the clojure code: (def text1 "testing thread") (def T (proxy [Thread] [] (run [] (println "T thread : (eval (println text1))") (eval (println text1)) (println "T thread : (eval (read-strin

testing the reader...

2009-04-30 Thread Julien
Hi all, I'm currently working on a small project to get started with clojure. I can't solve this problem which seem to be related to the reader. So I ran some test against it. -here's the clojure code: (def text1 "testing thread") (def T (proxy [Thread] []