On Dec 10, 11:02 am, Richard Newman <holyg...@gmail.com> wrote: > > They're especially useful for inserting println calls for seeing the > > value of something when I'm debugging; in fact, this is the primary > > way I do debugging. > > (defn tee (x) > (println "Debug: " (prn-str x)) > x) > > (let [x (tee (foo 1))] > ...)
The spy macro from c.c.logging does that. ;) -- 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