Either of these work, but they are a lot of work for a convience
feature like *e:
(.printStackTrace *e *err*)
(.printStackTrace *e (java.io.PrintWriter. *out*))
This helps, so *e will have verbose printing in the REPL:
(defmethod print-method Throwable [#^Throwable t, #^java.io.Writer w]
  (if *print-readably*
    (.printStackTrace t (java.io.PrintWriter. w))
    (.write w (str t)))
  nil)

-Mike

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to