On Dec 9, 2008, at 7:30 AM, prhlava wrote: > The > > (. java.lang.System/err println "something") > > works from in handler (it looks that *out* gets re-directed)...
It may be that *out* gets redirected. Another difference between out and err is that System/err is often associated with an "autoflush" stream. It's possible that your output to *out* has ben buffered and that you need a call to (flush) to ensure it's displayed. On a separate note, one convenient thing about Clojure namespaces is that they are created with "java.lang" already (effectively) imported. An unqualified call like (.println System/err "something") should always compile and run. --Steve --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---