Re: clj-backtrace: more readable backtraces for Clojure

2009-01-04 Thread Paul Barry
This is very nice, any chance we could see this added to clojure contrib? On Thu, Jan 1, 2009 at 9:30 PM, Mark McGranaghan wrote: > > Hi all, > > I'm happy to announce an alpha release of clj-backtrace, a library for > processing backtraces generated by Clojure programs. The library works > by s

Re: clj-backtrace: more readable backtraces for Clojure

2009-01-04 Thread Konrad Hinsen
On 03.01.2009, at 18:58, Mark McGranaghan wrote: > It prints the cleaned backtrace. Could you provide REPL sessions like > these that indicate the unexpected behavior? Sorry for the false alarm: I had used different shell scripts for launching Clojure with and without your library, and I just

Re: clj-backtrace: more readable backtraces for Clojure

2009-01-03 Thread Mark McGranaghan
I'm still not sure how you are printing these backtraces. For example, if I do: user=> (use 'clj-backtrace.repl) user=> ("foo") user=> (.printStackTrace *e) It prints the normal Java backtrace. If instead I do: user=> (use 'clj-backtrace.repl) user=> ("foo") user=> (pst) It prints the cleaned

Re: clj-backtrace: more readable backtraces for Clojure

2009-01-03 Thread Konrad Hinsen
On 03.01.2009, at 15:46, Mark McGranaghan wrote: > Thanks for trying the library, I'm glad you found it useful. It should > not redefine any existing behaviour - could you share a REPL session > showing the behavior that seemed to change? Nothing except what the library is supposed to do: clean

Re: clj-backtrace: more readable backtraces for Clojure

2009-01-03 Thread Mark McGranaghan
Konrad, Thanks for trying the library, I'm glad you found it useful. It should not redefine any existing behaviour - could you share a REPL session showing the behavior that seemed to change? - Mark On Jan 3, 2009, at 7:31 AM, Konrad Hinsen wrote: > > On 02.01.2009, at 03:30, Mark McGra

Re: clj-backtrace: more readable backtraces for Clojure

2009-01-03 Thread Konrad Hinsen
On 02.01.2009, at 03:30, Mark McGranaghan wrote: > I'm happy to announce an alpha release of clj-backtrace, a library for > processing backtraces generated by Clojure programs. The library works > by separating useful backtrace information from the noise generated by > the Clojure compilation pro

Re: clj-backtrace: more readable backtraces for Clojure

2009-01-02 Thread Mark McGranaghan
Hi Mike, Thanks for your interest. clj-backtrace is developed and tested against Clojure head, though it should work with reasonably recent versions of Clojure. I hope that you and other Clojure users have a chance to try it out in your environments and report the results back to the group. I wo

Re: clj-backtrace: more readable backtraces for Clojure

2009-01-02 Thread Michael Reid
Hi, I don't have Clojure in front of me right now to try this out, but from the looks of the README let me be the first to give you an emphatic *Thank you*. This is looking rather useful. Nice work. My one concern with this is how brittle is this with respect to Clojure's development? Have you

clj-backtrace: more readable backtraces for Clojure

2009-01-01 Thread Mark McGranaghan
Hi all, I'm happy to announce an alpha release of clj-backtrace, a library for processing backtraces generated by Clojure programs. The library works by separating useful backtrace information from the noise generated by the Clojure compilation process, and also provides functions for pretty-prin