Chouser a écrit : >> What do you think of adding rec-cons, rec-cat and your (fixed) cute >> version instead to seq-utils? >> (see http://clj-me.blogspot.com/2009/01/recursive-seqs.html for rec-cat >> and rec-cons) >> > > That'd be fine too, especially for rec-cons and rec-cat. The > 'reduction' in your blog makes a nice example, but I assume it runs > slower than your version above. > I never liked my iterate-based function: it is overly complicated (I wrote it because the intuition that iterate can be used kept nagging me) and yours (built with rec-cons) is more than twice faster!
Christophe --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---