I'd like to point out a similar library I wrote for Clojure called spyscope: https://github.com/dgrnbrg/spyscope
With spyscope, you can write a handful of characters and get the stack frame, form, and its value pretty-printed and logged to a queue for future querying. On Thursday, May 30, 2013 8:28:19 PM UTC-4, David Jacobs wrote: > > That's true -- that's why I wrote up the Letters debugging mini-library > for Ruby (lettersrb.com). However, there's friction there, too, and a > surprising number of people don't think to do this. > > > On Thursday, May 30, 2013 at 5:25 PM, Timothy Baldridge wrote: > > > Not really true, most of my programs contain this function: > > > > (defn debug [x] > > (pprint x) > > x) > > > > Now I can do this: > > > > (comp foo debug bar) > > > > Also, with some reader literal magic, I could write something to let me > do this: > > > > (myfunc foo #dbg bar) > > > > > > > > On Thu, May 30, 2013 at 6:12 PM, David Jacobs > > <da...@wit.io<javascript:>(mailto: > da...@wit.io <javascript:>)> wrote: > > > Two more things: > > > > > > 1) printing is often not a viable option for lazily eval-ed sequences > or async processes -- the output gets jumbled! And believe me, when a new > Clojure dev sees that for the first time, he/she wants to quit. > > > 2) printing is terrible for elegant clojure code -- thing (comp f g h > (partial map z)) -- in order to figure out anything about dynamic data > flowing through, you have to break apart that composition or add a let > binding in one of those functions before returning a value. Both of those > involve a lot of friction. > > > > > > > > > On Thursday, May 30, 2013 5:00:13 PM UTC-7, raould wrote: > > > > for a long time haskell did not have a debugger. that sucked, imho. > > > > > > > -- > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Clojure" group. > > > To post to this group, send email to > > > clo...@googlegroups.com<javascript:>(mailto: > clo...@googlegroups.com <javascript:>) > > > Note that posts from new members are moderated - please be patient > with your first post. > > > To unsubscribe from this group, send email to > > > clojure+u...@googlegroups.com <javascript:> (mailto: > clojure%2b...@googlegroups.com <javascript:>) > > > For more options, visit this group at > > > http://groups.google.com/group/clojure?hl=en > > > --- > > > You received this message because you are subscribed to the Google > Groups "Clojure" group. > > > To unsubscribe from this group and stop receiving emails from it, send > an email to clojure+u...@googlegroups.com <javascript:> (mailto: > clojure%2b...@googlegroups.com <javascript:>). > > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > > > > > > > > > -- > > “One of the main causes of the fall of the Roman Empire was that–lacking > zero–they had no way to indicate successful termination of their C > programs.” > > (Robert Firth) > > > > -- > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to > > clo...@googlegroups.com<javascript:>(mailto: > clo...@googlegroups.com <javascript:>) > > Note that posts from new members are moderated - please be patient with > your first post. > > To unsubscribe from this group, send email to > > clojure+u...@googlegroups.com <javascript:> (mailto: > clojure+u...@googlegroups.com <javascript:>) > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google > Groups "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to clojure+u...@googlegroups.com <javascript:> (mailto: > clojure+u...@googlegroups.com <javascript:>). > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.