Further to explain this behaviour: > (let [b (new StringBuffer)] > (map #(.. b (append (str % " "))) '("blah" "blah" "blah"))) > #<StringBuffer blah blah blah >)
If you are using the REPL the return result is the lazy-seq, and this gets forced to display the result. However in your original code you return b, so the lazy-seq is not evaluated. Regards, Tim. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---