This function is attending my needs for the moment: (defn print-feedback [text] (loop [out (split text #"\n")] (if (empty? out) "" (let [to-print (first out)] (println to-print) (recur (rest out))))))
The question now is: how to test it :D On Thu, Mar 12, 2015 at 11:53 PM, Hildeberto Mendonça <m...@hildeberto.com> wrote: > On Thu, Mar 12, 2015 at 8:29 PM, Edward Kimber <edward.kim...@gmail.com> > wrote: > >> You could use println instead of prn as the REPL printer. >> >> (clojure.main/repl :print println) >> > > Interesting. It works, but the instance of the REPL it creates doesn't > have all features of lein repl :-( If there was a way to pass this behavior > to lein repl, it would be great. > > Thanks anyway. > > -- > Hildeberto Mendonça, Ph.D > Blog: http://www.hildeberto.com > Community: http://www.cejug.net > Twitter: https://twitter.com/htmfilho > -- Hildeberto Mendonça, Ph.D Blog: http://www.hildeberto.com Community: http://www.cejug.net Twitter: https://twitter.com/htmfilho -- 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/d/optout.