What's the recommended way to use this library in code that is run
outside a REPL to simplify stack traces so they focus on Clojure code
instead of Java code? I tried something like this, but it didn't work.

(use 'clojure.contrib.stacktrace)

... lots of code including definition of a main function ...

(try
  (main)
  (catch Exception e (print-stack-trace e 5)))

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to