Jim, I'm interested in that idea definitely, but perhaps we should just create another open source project for time.foo?
On Thu, Mar 28, 2013 at 11:35 AM, Alex Baranosky < alexander.barano...@gmail.com> wrote: > Let me fix the README, the library should be required like this (:require > [print.foo :refer :all]) > > > On Thu, Mar 28, 2013 at 11:22 AM, adrians <nman...@gmail.com> wrote: > >> Looks useful, but I'm getting this: >> >> user=> (use 'print-foo) >> FileNotFoundException Could not locate print_foo__init.class or >> print_foo.clj on classpath: clojure.lang.RT.load (RT.java:443) >> >> using lein 2.1.1 >> >> Cheers >> >> >> On Thursday, March 28, 2013 1:42:42 AM UTC-4, Alex Baranosky wrote: >>> >>> print-foo is a small library useful when debugging code, or at the REPL >>> when writing your code. >>> >>> https://github.com/**AlexBaranosky/print-foo<https://github.com/AlexBaranosky/print-foo> >>> >>> It is a collection of macros that mimic basic clojure macros like defn, >>> let, or ->, but which prints the value of the code at each point in the >>> transformation. This is more convenient than printlning. (See the readme >>> for a complete list.) >>> >>> print-> is especially convenient. >>> >>> user=> (print-> 1 inc dec inc dec)1 1inc 2dec 1inc 2dec 11 >>> >>> >>> The only macro in the bunch that is not simply a clojure macro with >>> "print-" appended is print-sexp which takes an arbitrary s-expression and >>> prints out the values of every sub-sexp, like this: >>> >>> user=> (print-sexp (str (+ 3 4) (+ 5 (* 6 2)) 4))(+ 3 4) 7(* 6 2) 12(+ 5 (* >>> 6 2)) 17(str (+ 3 4) (+ 5 (* 6 2)) 4) "7174""7174" >>> >>> Enjoy :) >>> Alex >>> >> -- >> -- >> 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. >> >> >> > > -- -- 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.