On Jun 6, 2012 7:23 AM, "Dave Sann" <daves...@gmail.com> wrote: > The question is: what is the best way to write such a function in clojure.
You will never get the clarity you're looking for with a direct port; you must find and use appropriate Clojurian abstractions. I suggest starting by thinking about ways to eliminate loops with the numerous lazy sequence functions, which are less numerous and harder to use in Python. Most loop/recurs become far simpler once they are not there anymore. > - is this a candidate for transients? probably Transients aid in performance; they cannot help you achieve greater simplicity, because they are strictly less powerful than their persistent counterparts. I suggest trying to find the simplest implementation, and worrying about efficiency once you have that. -- Stephen Compall Greetings from sunny Appleton! -- 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