Yes, the *do *is necessary since the character needs to be appended to the *StringBuilder *and *recur *needs to be called after doing that.
I actually took the code from the clojure.core/slurp<https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L6279>function :). Cheers, Juan On Fri, Mar 22, 2013 at 12:20 PM, Jim - FooBar(); <jimpil1...@gmail.com>wrote: > On 22/03/13 15:00, juan.facorro wrote: > > (do > (.append sb (char c)) > > > do you really need the 'do'? > > Jim > > -- > -- > 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 a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojure/QwKmsLwLhjE/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Juan Facorro -- -- 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.