On Jan 10, 1:17 pm, GS <gsincl...@gmail.com> wrote: > > (with-open [rdr (reader "executors.clj")] > > (doseq [[line index] (zip-index (line-seq rdr))] > > (.println System/out (str (inc index) " " line)))) > > Why would you use Java's (.println System/out ...) instead of > (println ...)?
Because println is, I think, a recent addition to the Clojure API and I didn't know about it :) - James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---