On 12 Apr 2010, at 13:46, Steve Purcell wrote: > On 12 Apr 2010, at 09:39, Bytesource wrote: >> For example, I tried to implement the "insertion sort" in Clojure but >> could not figure out how to "swap" values and get the recursion >> right. > > > How about the Clojure examples on Rosettacode? > > http://rosettacode.org/wiki/Category:Clojure
And, though you might not want to peek ahead just yet, you'll find an insertion sort implementation here: http://rosettacode.org/wiki/Sorting_algorithms/Insertion_sort#Clojure -Steve -- 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 To unsubscribe, reply using "remove me" as the subject.