On Thu, Mar 21, 2013 at 11:54 AM, Razvan Rotaru <[email protected]>wrote:
> Is there an alternative to the code above (preferably simple and elegant), > which will return the etire sequence? > (pr-str (map + [1 2 3])) or (print-str (map + [1 2 3])) There are subtle differences between pr-str and print-str, (which I can never remember) but either one works for this scenario. They build a string for how it prints (using either pr or print respectively). -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
